Fix missing permissions in security-alert-burndown campaign workflow#21066
Fix missing permissions in security-alert-burndown campaign workflow#21066
Conversation
…kflow Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
|
Hey The Suggested next step: Remove the draft status once CI passes and it's ready for maintainer eyes. 🟢
|
There was a problem hiding this comment.
Pull request overview
Adds the missing GitHub Actions permissions configuration for the security-alert-burndown campaign workflow so the workflow compiles/runs under strict permissions validation.
Changes:
- Added a top-level
permissionsblock to the campaign source workflow (security-alert-burndown.campaign.g.md). - Updated the compiled/locked workflow (
security-alert-burndown.campaign.g.lock.yml) to reflect the new metadata hash and the expanded job permissions.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/security-alert-burndown.campaign.g.md | Adds the required permissions block alongside declared GitHub toolsets. |
| .github/workflows/security-alert-burndown.campaign.g.lock.yml | Regenerates the compiled workflow metadata and applies the corresponding job-level permissions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
security-alert-burndown.campaign.g.mddeclared GitHub toolsets[default, actions, code_security]but omitted the requiredpermissions:block, causing a compile error on every run.Changes
permissionsblock to.github/workflows/security-alert-burndown.campaign.g.md: