Skip to content

Commit 0e9c9e1

Browse files
Change issue text on daily/stubsabot failure to include exact run URL (#13210)
Use current run URL in issue body
1 parent 21c85ba commit 0e9c9e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/daily.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,6 @@ jobs:
144144
owner: "python",
145145
repo: "typeshed",
146146
title: `Daily tests failed on ${new Date().toDateString()}`,
147-
body: "Runs listed here: https://github.com/python/typeshed/actions/workflows/daily.yml",
147+
body: "Run listed here: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}",
148148
labels: ["help wanted"],
149149
})

.github/workflows/stubsabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ jobs:
5252
owner: "python",
5353
repo: "typeshed",
5454
title: `Stubsabot failed on ${new Date().toDateString()}`,
55-
body: "Stubsabot runs are listed here: https://github.com/python/typeshed/actions/workflows/stubsabot.yml",
55+
body: "Stubsabot run is listed here: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}",
5656
})

0 commit comments

Comments
 (0)