Skip to content

Commit

Permalink
fix: dont conclude checks if they were never set (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed May 9, 2024
1 parent 9440c4f commit 8aef509
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
run: npm run postlint --ignore-scripts -ws -iwr --if-present
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.6.0
if: always()
if: steps.create-check.outputs.check-id && always()
with:
token: ${{ secrets.GITHUB_TOKEN }}
conclusion: ${{ job.status }}
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
run: npm test --ignore-scripts -ws -iwr --if-present
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.6.0
if: always()
if: steps.create-check.outputs.check-id && always()
with:
token: ${{ secrets.GITHUB_TOKEN }}
conclusion: ${{ job.status }}
Expand Down
4 changes: 2 additions & 2 deletions lib/content/ci-release-yml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
{{> stepLintYml jobRunFlags=allFlags }}
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.6.0
if: always()
if: steps.create-check.outputs.check-id && always()
with:
token: $\{{ secrets.GITHUB_TOKEN }}
conclusion: $\{{ job.status }}
Expand All @@ -42,7 +42,7 @@ jobs:
{{> stepTestYml jobRunFlags=allFlags }}
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.6.0
if: always()
if: steps.create-check.outputs.check-id && always()
with:
token: $\{{ secrets.GITHUB_TOKEN }}
conclusion: $\{{ job.status }}
Expand Down
12 changes: 6 additions & 6 deletions tap-snapshots/test/apply/source-snapshots.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ jobs:
run: npm run postlint --ignore-scripts
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.6.0
if: always()
if: steps.create-check.outputs.check-id && always()
with:
token: \${{ secrets.GITHUB_TOKEN }}
conclusion: \${{ job.status }}
Expand Down Expand Up @@ -521,7 +521,7 @@ jobs:
run: npm test --ignore-scripts
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.6.0
if: always()
if: steps.create-check.outputs.check-id && always()
with:
token: \${{ secrets.GITHUB_TOKEN }}
conclusion: \${{ job.status }}
Expand Down Expand Up @@ -2102,7 +2102,7 @@ jobs:
run: npm run postlint --ignore-scripts -ws -iwr --if-present
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.6.0
if: always()
if: steps.create-check.outputs.check-id && always()
with:
token: \${{ secrets.GITHUB_TOKEN }}
conclusion: \${{ job.status }}
Expand Down Expand Up @@ -2171,7 +2171,7 @@ jobs:
run: npm test --ignore-scripts -ws -iwr --if-present
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.6.0
if: always()
if: steps.create-check.outputs.check-id && always()
with:
token: \${{ secrets.GITHUB_TOKEN }}
conclusion: \${{ job.status }}
Expand Down Expand Up @@ -3775,7 +3775,7 @@ jobs:
run: npm run postlint --ignore-scripts -ws -iwr --if-present
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.6.0
if: always()
if: steps.create-check.outputs.check-id && always()
with:
token: \${{ secrets.GITHUB_TOKEN }}
conclusion: \${{ job.status }}
Expand Down Expand Up @@ -3844,7 +3844,7 @@ jobs:
run: npm test --ignore-scripts -ws -iwr --if-present
- name: Conclude Check
uses: LouisBrunner/checks-action@v1.6.0
if: always()
if: steps.create-check.outputs.check-id && always()
with:
token: \${{ secrets.GITHUB_TOKEN }}
conclusion: \${{ job.status }}
Expand Down

0 comments on commit 8aef509

Please sign in to comment.