Skip to content

Commit

Permalink
Fix check ID hash in workflows check actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed Feb 28, 2024
1 parent 37cfb2a commit 1d5df73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/application_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:
jobs:
push_to_registry:
name: Push to registry
if: ${ github.event.workflow_run.conclusion == 'success' && !contains(github.ref, 'dependabot') }}
if: ${{ github.event.workflow_run.conclusion == 'success' && !contains(github.ref, 'dependabot') }}
runs-on: ubuntu-22.04
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
- uses: LouisBrunner/checks-action@v2.0.0
if: ${{ always() }}
with:
check_id: ${{ github.run_id }}
check_id: application-deployment-${{ github.event.workflow_run.head_commit.id }}
conclusion: ${{ job.status }}
details_url: https://github.com/MTES-MCT/monitorfish/actions/runs/${{ github.run_id }}/job/${{ github.job_id }}
name: Application Deployment
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/application_e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
- uses: LouisBrunner/checks-action@v2.0.0
if: ${{ always() }}
with:
check_id: ${{ github.run_id }}
check_id: application-e2e-cypress-${{ github.event.workflow_run.head_commit.id }}
conclusion: ${{ job.status }}
name: Application Cypress E2E tests
sha: ${{ github.event.workflow_run.head_commit.id }}
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
- uses: LouisBrunner/checks-action@v2.0.0
if: ${{ always() }}
with:
check_id: ${{ github.run_id }}
check_id: application-e2e-puppeteer-${{ github.event.workflow_run.head_commit.id }}
conclusion: ${{ job.status }}
details_url: https://github.com/MTES-MCT/monitorfish/actions/runs/${{ github.run_id }}/job/${{ github.job_id }}
name: Application Puppeteer E2E tests
Expand Down

0 comments on commit 1d5df73

Please sign in to comment.