From 0e9c9e1362959512a880abbf1275471b0d76924f Mon Sep 17 00:00:00 2001 From: Brian Schubert Date: Fri, 6 Dec 2024 15:19:32 -0500 Subject: [PATCH] Change issue text on daily/stubsabot failure to include exact run URL (#13210) Use current run URL in issue body --- .github/workflows/daily.yml | 2 +- .github/workflows/stubsabot.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 0abd07732..548807e81 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -144,6 +144,6 @@ jobs: owner: "python", repo: "typeshed", title: `Daily tests failed on ${new Date().toDateString()}`, - body: "Runs listed here: https://github.com/python/typeshed/actions/workflows/daily.yml", + body: "Run listed here: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}", labels: ["help wanted"], }) diff --git a/.github/workflows/stubsabot.yml b/.github/workflows/stubsabot.yml index aeb354ca8..5fb3265a6 100644 --- a/.github/workflows/stubsabot.yml +++ b/.github/workflows/stubsabot.yml @@ -52,5 +52,5 @@ jobs: owner: "python", repo: "typeshed", title: `Stubsabot failed on ${new Date().toDateString()}`, - body: "Stubsabot runs are listed here: https://github.com/python/typeshed/actions/workflows/stubsabot.yml", + body: "Stubsabot run is listed here: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}", })