Skip to content

chore(ci): Harden CI workflow permissions#1486

Merged
bitstorm merged 1 commit into
apache:masterfrom
Alb3e3:harden-ci-workflow-permissions
Jun 15, 2026
Merged

chore(ci): Harden CI workflow permissions#1486
bitstorm merged 1 commit into
apache:masterfrom
Alb3e3:harden-ci-workflow-permissions

Conversation

@Alb3e3

@Alb3e3 Alb3e3 commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

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.

@martin-g martin-g changed the title Harden CI workflow permissions chore(ci): Harden CI workflow permissions Jun 15, 2026
@bitstorm bitstorm merged commit eaab30e into apache:master Jun 15, 2026
3 checks passed
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.

3 participants