Skip to content

Commit 7667e46

Browse files
authored
ci: Fix URL to actions by using a variable (#27)
## Description <!-- A summary of what this pull request achieves and a rough list of changes. --> ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented.
1 parent 9340e32 commit 7667e46

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/beta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ jobs:
3838
severity: error
3939
details: |
4040
Rustc beta tests failed in **${{ github.repository }}**
41-
See https://github.com/n0-computer/${{ github.repository }}/actions/workflows/beta.yaml
41+
See https://github.com/${{ github.repository }}/actions/workflows/beta.yaml
4242
webhookUrl: ${{ secrets.DISCORD_N0_GITHUB_CHANNEL_WEBHOOK_URL }}
4343

.github/workflows/flaky.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
echo "$failure" >> $GITHUB_OUTPUT
8888
done
8989
echo "" >> $GITHUB_OUTPUT
90-
echo "See https://github.com/n0-computer/iroh/actions/workflows/flaky.yaml" >> $GITHUB_OUTPUT
90+
echo "See https://github.com/${{ github.repository }}/actions/workflows/flaky.yaml" >> $GITHUB_OUTPUT
9191
echo "$EOF" >> $GITHUB_OUTPUT
9292
- name: Notify discord on failure
9393
uses: n0-computer/discord-webhook-notify@v1

0 commit comments

Comments
 (0)