auto open issue on ci failure during release - #1864
Conversation
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
There was a problem hiding this comment.
Pull request overview
Adds a release-failure notification mechanism to the existing sdk_build GitHub Actions workflow by calling a reusable workflow that opens (or comments on) a tracking issue in the repo when a tagged release run fails.
Changes:
- Introduces a
notify-on-failurejob gated on tag builds and workflow failure. - Grants
issues: write/actions: readpermissions and callsdapr/.githubreusable workflow to create/comment a tracking issue. - Passes issue metadata (title, labels, team mentions) and a bot token secret to the reusable workflow.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@cicoyle Oh, given the number of transient errors during integration testing, I really don't want this unless you can ensure it never reports an issue about gRPC connections not establishing. |
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
It should just open an issue if there is an issue on the publish step. |
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
|
@copilot Will this open an issue any time a release pipeline fails or when any GitHub action fails to complete, including the standard sdk-build action in this repo? |
|
The .github PR was merged and other sdks and dapr repos merged this in, it would be great for consistency :) lmk if you see the need for any changes @WhitWaldo |
|
@holopin-bot @cicoyle sdk-badge Thank you! Here's a digital badge as a small token of appreciation. |
|
Congratulations @cicoyle, the maintainer of this repository has issued you a badge! Here it is: https://holopin.io/claim/cms2zv0kk000bi60485d9jmrr This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account. |
Reusable workflow_call that opens (or comments on) a tracking issue in the caller repo when a release/publish job fails, with links to the failed jobs and a maintainer @-mention.
Needs this PR merged first.