Skip to content

Harden CI workflow permissions#1486

Open
Alb3e3 wants to merge 1 commit into
apache:masterfrom
Alb3e3:harden-ci-workflow-permissions
Open

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

Conversation

@Alb3e3

@Alb3e3 Alb3e3 commented Jun 11, 2026

Copy link
Copy Markdown

This tightens the GitHub Actions CI workflow permissions without changing the Java build.

The workflow only needs repository read access for checkout and 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 finding. The remaining findings are action pinning warnings, which I left out of this focused change.

Sign up for free to 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