Skip to content

chore(ci): add explicit least-privilege workflow permissions#15409

Merged
kevinjqliu merged 1 commit intoapache:mainfrom
kevinjqliu:kevinjqliu/fix-codeql-suggestions
Feb 24, 2026
Merged

chore(ci): add explicit least-privilege workflow permissions#15409
kevinjqliu merged 1 commit intoapache:mainfrom
kevinjqliu:kevinjqliu/fix-codeql-suggestions

Conversation

@kevinjqliu
Copy link
Copy Markdown
Contributor

Added explicit permissions blocks to GitHub Actions workflows to satisfy CodeQL actions/missing-workflow-permissions. (See the Security tab on Github)
Defaulted workflows to contents: read.

The one write permission

  • contents: write is set only for the docs publish job in site-ci.yml, because that job pushes generated site content to the gh-pages branch.

@kevinjqliu kevinjqliu merged commit 39d5e1d into apache:main Feb 24, 2026
38 checks passed
@kevinjqliu kevinjqliu deleted the kevinjqliu/fix-codeql-suggestions branch February 24, 2026 01:54
RjLi13 pushed a commit to RjLi13/iceberg that referenced this pull request Mar 12, 2026
talatuyarer pushed a commit to talatuyarer/iceberg that referenced this pull request Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants