Fix codeql workflow permissions by jsoref · Pull Request #993 · actions/setup-java

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@jsoref

Copy link

@jsoref jsoref commented

Mar 20, 2026

Description:
Without this, the workflow fails on forks with restricted permissions, e.g.:
https://github.com/check-spelling-sandbox/setup-java/actions/runs/23344893018
https://github.com/check-spelling-sandbox/setup-java/actions/runs/23344583872

Related issue:
Add link to the related issue.

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

@jsoref jsoref requested a review from a team as a code owner

March 20, 2026 13:41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@jsoref @HarithaVattikuti