From b9180abc9c370f88c85caf03e74d3a034bc7535b Mon Sep 17 00:00:00 2001 From: Ivan Gabriele Date: Wed, 28 Feb 2024 07:48:17 +0100 Subject: [PATCH] Add check_id & details_url to worflows status check action --- .github/workflows/application_deployment.yml | 2 ++ .github/workflows/application_e2e_tests.yml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/application_deployment.yml b/.github/workflows/application_deployment.yml index 2db5125c4c..af2be594a4 100644 --- a/.github/workflows/application_deployment.yml +++ b/.github/workflows/application_deployment.yml @@ -54,7 +54,9 @@ jobs: - uses: LouisBrunner/checks-action@v2.0.0 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 }} diff --git a/.github/workflows/application_e2e_tests.yml b/.github/workflows/application_e2e_tests.yml index 7e977c3c1e..80db19777e 100644 --- a/.github/workflows/application_e2e_tests.yml +++ b/.github/workflows/application_e2e_tests.yml @@ -90,6 +90,7 @@ jobs: - uses: LouisBrunner/checks-action@v2.0.0 if: ${{ always() }} with: + check_id: ${{ github.run_id }} conclusion: ${{ job.status }} name: Application Cypress E2E tests sha: ${{ github.event.workflow_run.head_commit.id }} @@ -118,6 +119,7 @@ jobs: uses: ishworkh/container-image-artifact-download@v1.0.0 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" @@ -150,7 +152,9 @@ jobs: - uses: LouisBrunner/checks-action@v2.0.0 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 }}