Skip to content

gh: aligned workflow permissions with smallstep/workflows#324#1035

Merged
azazeal merged 2 commits into
masterfrom
panos/workflows
May 20, 2026
Merged

gh: aligned workflow permissions with smallstep/workflows#324#1035
azazeal merged 2 commits into
masterfrom
panos/workflows

Conversation

@azazeal
Copy link
Copy Markdown
Contributor

@azazeal azazeal commented May 20, 2026

This PR amends the workflows configuration to be more inline with smallstep/workflows#324. Specifically, it grants actions: read, contents: read, and security-events: write to the ci job, which calls goCI.yml with run-codeql: true; without these scopes the CodeQL sub-job cannot upload its findings.

It additionally addresses the following:

  1. Relaxes the dependabot-auto-merge.yml permissions, since the called workflow no longer needs contents: write or pull-requests: write.
  2. Drops pull-requests: write from triage.yml, since the called workflow only labels via the issues API.

@azazeal azazeal marked this pull request as ready for review May 20, 2026 14:06
@azazeal azazeal enabled auto-merge May 20, 2026 14:06
@azazeal azazeal merged commit e80e195 into master May 20, 2026
12 checks passed
@azazeal azazeal deleted the panos/workflows branch May 20, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants