Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #232, Rename duplicate-job for Workflows #235

Merged
merged 1 commit into from
Apr 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build-cfs-deprecated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:

jobs:
#Checks for duplicate actions. Skips push actions if there is a matching or duplicate pull-request action.
duplicate-job:
check-for-duplicates:
runs-on: ubuntu-latest
# Map a step output to a job output
outputs:
Expand All @@ -28,9 +28,9 @@ jobs:
# when a job name is not provided

build-cfs:
#Continue if duplicate-job found no duplicates. Always runs for pull-requests.
needs: duplicate-job
if: ${{ needs.duplicate-job.outputs.should_skip != 'true' }}
#Continue if check-for-duplicates found no duplicates. Always runs for pull-requests.
needs: check-for-duplicates
if: ${{ needs.check-for-duplicates.outputs.should_skip != 'true' }}
name: Build
runs-on: ubuntu-18.04

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-cfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:

jobs:
#Checks for duplicate actions. Skips push actions if there is a matching or duplicate pull-request action.
duplicate-job:
check-for-duplicates:
runs-on: ubuntu-latest
# Map a step output to a job output
outputs:
Expand All @@ -25,9 +25,9 @@ jobs:
do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]'

build-cfs:
#Continue if duplicate-job found no duplicates. Always runs for pull-requests.
needs: duplicate-job
if: ${{ needs.duplicate-job.outputs.should_skip != 'true' }}
#Continue if check-for-duplicates found no duplicates. Always runs for pull-requests.
needs: check-for-duplicates
if: ${{ needs.check-for-duplicates.outputs.should_skip != 'true' }}
name: Build
runs-on: ubuntu-18.04

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:

jobs:
#Checks for duplicate actions. Skips push actions if there is a matching or duplicate pull-request action.
duplicate-job:
check-for-duplicates:
runs-on: ubuntu-latest
# Map a step output to a job output
outputs:
Expand All @@ -29,9 +29,9 @@ jobs:


CodeQL-Build:
#Continue if duplicate-job found no duplicates. Always runs for pull-requests.
needs: duplicate-job
if: ${{ needs.duplicate-job.outputs.should_skip != 'true' }}
#Continue if check-for-duplicates found no duplicates. Always runs for pull-requests.
needs: check-for-duplicates
if: ${{ needs.check-for-duplicates.outputs.should_skip != 'true' }}
runs-on: ubuntu-18.04
timeout-minutes: 15

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
#Checks for duplicate actions. Skips push actions if there is a matching or duplicate pull-request action.
duplicate-job:
check-for-duplicates:
runs-on: ubuntu-latest
# Map a step output to a job output
outputs:
Expand All @@ -21,9 +21,9 @@ jobs:
do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]'

static-analysis:
#Continue if duplicate-job found no duplicates. Always runs for pull-requests.
needs: duplicate-job
if: ${{ needs.duplicate-job.outputs.should_skip != 'true' }}
#Continue if check-for-duplicates found no duplicates. Always runs for pull-requests.
needs: check-for-duplicates
if: ${{ needs.check-for-duplicates.outputs.should_skip != 'true' }}
name: Run cppcheck
runs-on: ubuntu-18.04

Expand Down