Skip to content

Commit 3547a4d

Browse files
author
Llorenç Muntaner
authored
Fix link to github CI job run id (#2969)
* Fix link to github CI job run id * Add test and fix two extra quotes * Revert test
1 parent e9968cd commit 3547a4d

9 files changed

Lines changed: 12 additions & 12 deletions

.github/workflows/canister-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ jobs:
907907
if: ${{ startsWith(github.ref, 'refs/tags/') && failure() }}
908908
with:
909909
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
910-
MESSAGE: "Release creation failed: https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
910+
MESSAGE: "Release creation failed: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
911911

912912
# A native, fast cached build. We use the produced test assets to run the canister & e2e tests.
913913
# The asset's checksum is compared against that of the (slower) docker build.

.github/workflows/deploy-rc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
RC link: https://${{ env.ii_canister_id }}.ic0.app
8888
test app: https://${{ env.testnet_app_canister_id }}.ic0.app
8989
90-
https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID
90+
https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
9191
9292
# Since the this is a scheduled job, a failure won't be shown on any
9393
# PR status. To notify the team, we send a message to our Slack channel on failure.
@@ -96,4 +96,4 @@ jobs:
9696
if: ${{ failure() }}
9797
with:
9898
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
99-
MESSAGE: "RC deployment failed: https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
99+
MESSAGE: "RC deployment failed: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"

.github/workflows/release-build-check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
if: ${{ failure() }}
5050
with:
5151
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
52-
MESSAGE: "Release build check failed (could not get release): https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
52+
MESSAGE: "Release build check failed (could not get release): https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
5353

5454
# Perform the clean build (non-docker), using the release as checkout
5555
clean-build:
@@ -75,7 +75,7 @@ jobs:
7575
if: ${{ failure() }}
7676
with:
7777
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
78-
MESSAGE: "Release build check failed: https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
78+
MESSAGE: "Release build check failed: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
7979

8080
# Verify the hash using the verify-hash script, using the release as checkout.
8181
# This runs the build using docker and should work on all platforms.
@@ -103,4 +103,4 @@ jobs:
103103
if: ${{ failure() }}
104104
with:
105105
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
106-
MESSAGE: "Verify hash check failed: https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
106+
MESSAGE: "Verify hash check failed: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"

.github/workflows/update-dapps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ jobs:
4848
if: ${{ failure() }}
4949
with:
5050
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
51-
MESSAGE: "Dapps update failed: https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
51+
MESSAGE: "Dapps update failed: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"

.github/workflows/update-dfx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ jobs:
5959
if: ${{ failure() }}
6060
with:
6161
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
62-
MESSAGE: "dfx update failed: https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
62+
MESSAGE: "dfx update failed: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"

.github/workflows/update-didc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ jobs:
5858
if: ${{ failure() }}
5959
with:
6060
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
61-
MESSAGE: "didc update failed: https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
61+
MESSAGE: "didc update failed: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"

.github/workflows/update-node.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ jobs:
6060
if: ${{ failure() }}
6161
with:
6262
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
63-
MESSAGE: "Node update failed: https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
63+
MESSAGE: "Node update failed: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"

.github/workflows/update-passkey-aaguid.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ jobs:
5757
if: ${{ failure() }}
5858
with:
5959
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
60-
MESSAGE: "Passkey AAGUID data update failed: https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
60+
MESSAGE: "Passkey AAGUID data update failed: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"

.github/workflows/update-rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ jobs:
6767
if: ${{ failure() }}
6868
with:
6969
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
70-
MESSAGE: "Rust update failed: https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
70+
MESSAGE: "Rust update failed: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"

0 commit comments

Comments
 (0)