From bacafb68f4c729755ea020815a2e75b159755634 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Wed, 15 Jan 2025 23:37:00 +0000 Subject: [PATCH] Typeshed-sync workflow: add appropriate labels, link directly to failing run Incorporate improvements recently made to the daily-fuzz workflow and the daily-property-test workflow, in e.g. https://github.com/astral-sh/ruff/commit/b6562ed57e104b849b2673f4742e4afe98b27127 --- .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 d1785034e1ca4a..991d92f95745ca 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"], })