Skip to content

[#180] | Krishna | Add explicit GITHUB_TOKEN permissions in CI workflows#195

Merged
kannananil merged 1 commit into
DeveloperGarage:mainfrom
KrishnaSreeraj:enhancement/github-token-permissions
Oct 28, 2025
Merged

[#180] | Krishna | Add explicit GITHUB_TOKEN permissions in CI workflows#195
kannananil merged 1 commit into
DeveloperGarage:mainfrom
KrishnaSreeraj:enhancement/github-token-permissions

Conversation

@KrishnaSreeraj

@KrishnaSreeraj KrishnaSreeraj commented Oct 26, 2025

Copy link
Copy Markdown
Collaborator

This PR explicitly define minimal permissions for the GITHUB_TOKEN to adhere to the principle of least privilege and eliminate the code scanning alerts by CodeQL.

Affected Files

  • .github/workflows/pr.yaml
  • .github/workflows/ci.yaml
  • .github/workflows/test-job.yaml
  • .github/workflows/typecheck-job.yaml
  • .github/workflows/lint-job.yaml
  • .github/workflows/trivy-scan-job.yml

All permission related CodeQL alerts for actions/missing-workflow-permissions should be resolved by this PR.

@kannananil kannananil left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KrishnaSreeraj, thanks for the efforts. The changes looks good, we can proceed to merge.

@kannananil kannananil merged commit d7fed92 into DeveloperGarage:main Oct 28, 2025
4 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.

Missing Explicit GITHUB_TOKEN Permissions in CI Workflows

2 participants