Skip to content

Commit

Permalink
Removes build-documentation check-for-duplicates skips
Browse files Browse the repository at this point in the history
  • Loading branch information
jdfiguer authored and jdfiguer committed May 28, 2024
1 parent 32eb0f8 commit 08c3bdd
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/build-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@ defaults:
shell: bash

jobs:
# Checks for duplicate actions. Skips push actions if there is a matching or
# duplicate pull-request action.
checks-for-duplicates:
runs-on: ubuntu-latest
# Map a step output to a job output
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@master
with:
concurrent_skipping: 'same_content'
skip_after_successful_duplicate: 'true'
do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]'
# # Checks for duplicate actions. Skips push actions if there is a matching or
# # duplicate pull-request action.
# checks-for-duplicates:
# runs-on: ubuntu-latest
# # Map a step output to a job output
# outputs:
# should_skip: ${{ steps.skip_check.outputs.should_skip }}
# steps:
# - id: skip_check
# uses: fkirc/skip-duplicate-actions@master
# with:
# concurrent_skipping: 'same_content'
# skip_after_successful_duplicate: 'true'
# do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]'

checkout-and-cache:
name: Custom checkout and cache for cFS documents
needs: checks-for-duplicates
if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' || contains(github.ref, 'main') }}
# needs: checks-for-duplicates
if: ${{ contains(github.ref, 'main') }}
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 08c3bdd

Please sign in to comment.