From c53ee608a1df4e471f0089e4f5d2881291e085be Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Wed, 15 Jan 2025 23:42:35 +0000 Subject: [PATCH] Typeshed-sync workflow: add appropriate labels, link directly to failing run (#15520) --- .github/workflows/sync_typeshed.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync_typeshed.yaml b/.github/workflows/sync_typeshed.yaml index d1785034e1..991d92f957 100644 --- a/.github/workflows/sync_typeshed.yaml +++ b/.github/workflows/sync_typeshed.yaml @@ -78,5 +78,6 @@ jobs: owner: "astral-sh", repo: "ruff", title: `Automated typeshed sync failed on ${new Date().toDateString()}`, - body: "Runs are listed here: https://github.com/astral-sh/ruff/actions/workflows/sync_typeshed.yaml", + body: "Run listed here: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}", + labels: ["bug", "red-knot"], })