From 6bc4f18fb6c9d9e084975ebd69ae11ca31b21cdb Mon Sep 17 00:00:00 2001 From: Cassandra Coyle Date: Thu, 2 Jul 2026 11:47:49 -0500 Subject: [PATCH] auto open issue on ci failure during release Signed-off-by: Cassandra Coyle --- .github/workflows/build-tag.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/build-tag.yaml b/.github/workflows/build-tag.yaml index de291bab..1ea7cc6d 100644 --- a/.github/workflows/build-tag.yaml +++ b/.github/workflows/build-tag.yaml @@ -105,3 +105,19 @@ jobs: # under `dapr/ext//` claimed by both distributions, and `pip # uninstall ` would delete files that core dapr now provides. # See RELEASE.md and the runtime warning in dapr/__init__.py. + + # Opens (or comments on) a tracking issue when a tagged release fails + # anywhere in the lint -> build -> publish chain. + notify-on-failure: + needs: [lint, build, publish] + if: failure() && startsWith(github.ref, 'refs/tags/v') + permissions: + issues: write + actions: read + uses: dapr/.github/.github/workflows/open-issue-on-failure.yml@main + with: + title: "Release publish failed: ${{ github.workflow }} (${{ github.ref_name }})" + labels: "release,ci/publish-failure" + mention: "@dapr/maintainers-python-sdk @dapr/approvers-python-sdk" + secrets: + dapr_bot_token: ${{ secrets.DAPR_BOT_TOKEN }}