[build] fix release workflow#17437
Conversation
Review Summary by QodoFix release workflow permissions and notifications
WalkthroughsDescription• Add path filters to prevent workflow runs on unrelated PRs • Update permissions to enable write access for releases • Include missing job results in Slack failure notifications • Add missing job dependencies to failure handler Diagramflowchart LR
A["Release Workflow"] -->|"Add path filters"| B["Version file changes only"]
A -->|"Update permissions"| C["contents: write, packages: write"]
A -->|"Add job dependencies"| D["create-language-tag, github-release-draft"]
D -->|"Include in notifications"| E["Slack failure message"]
File Changes1. .github/workflows/release.yml
|
Code Review by Qodo
1. Unescaped git diff args
|
|
Persistent review updated to latest commit 871676e |
|
Persistent review updated to latest commit 0887467 |
There was a problem hiding this comment.
Pull request overview
This PR updates the GitHub Actions release workflow to better scope when it runs, correct permissions for release-related operations, and improve failure notifications.
Changes:
- Add a
pull_request.pathsfilter so the workflow only triggers on merged release-preparation PRs that update version files. - Update workflow permissions and adjust failure-job dependencies.
- Include additional job results in the Slack failure notification.
💥 What does this PR do?
🔄 Types of changes