Skip to content

Harden CI workflow permissions - #670

Closed
Alb3e3 wants to merge 1 commit into
apache:trunkfrom
Alb3e3:harden-ci-workflow-permissions
Closed

Harden CI workflow permissions#670
Alb3e3 wants to merge 1 commit into
apache:trunkfrom
Alb3e3:harden-ci-workflow-permissions

Conversation

@Alb3e3

Copy link
Copy Markdown

This tightens the GitHub Actions CI workflow permissions without changing the Linux or Windows build behavior.

The workflows only need repository read access for checkout and build/test execution, so this sets the default GITHUB_TOKEN permission to contents: read.

I verified the workflow YAML still parses, git diff --check passes, and zizmor no longer reports the previous excessive-permissions findings. The remaining findings are action pinning warnings, which I left out of this focused change.

notroj added a commit to notroj/httpd that referenced this pull request Aug 7, 2026
Submitted by: Alb3e3 <74142887+Alb3e3 users.noreply.github.com>
GitHub: closesapache#670
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936269 13f79535-47bb-0310-9956-ffa450edef68
notroj added a commit to notroj/httpd that referenced this pull request Aug 7, 2026
Submitted by: Alb3e3 <74142887+Alb3e3 users.noreply.github.com>
GitHub: closesapache#670
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936269 13f79535-47bb-0310-9956-ffa450edef68
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@Alb3e3