Skip to content

Commit

Permalink
Add check_id & details_url to worflows status check action
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed Feb 28, 2024
1 parent 5ba8491 commit b9180ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/application_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ jobs:
- uses: LouisBrunner/[email protected]
if: ${{ always() }}
with:
check_id: ${{ github.run_id }}
conclusion: ${{ job.status }}
details_url: https://github.com/MTES-MCT/monitorfish/actions/runs/${{ github.run_id }}/job/${{ github.job_id }}
name: Application Deployment
sha: ${{ github.event.workflow_run.head_commit.id }}
token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions .github/workflows/application_e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
- uses: LouisBrunner/[email protected]
if: ${{ always() }}
with:
check_id: ${{ github.run_id }}
conclusion: ${{ job.status }}
name: Application Cypress E2E tests
sha: ${{ github.event.workflow_run.head_commit.id }}
Expand Down Expand Up @@ -118,6 +119,7 @@ jobs:
uses: ishworkh/[email protected]
with:
commit_sha: ${{ github.event.workflow_run.head_commit.id }}
details_url: https://github.com/MTES-MCT/monitorfish/actions/runs/${{ github.run_id }}/job/${{ github.job_id }}
image: monitorfish-app:${{ env.VERSION }}
token: ${{ secrets.GITHUB_TOKEN }}
workflow: "Application Build"
Expand Down Expand Up @@ -150,7 +152,9 @@ jobs:
- uses: LouisBrunner/[email protected]
if: ${{ always() }}
with:
check_id: ${{ github.run_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
sha: ${{ github.event.workflow_run.head_commit.id }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b9180ab

Please sign in to comment.