Skip to content

Potential fix for code scanning alert no. 1: Workflow does not contain permissions - #4

Merged
MatissJanis merged 1 commit into
mainfrom
alert-autofix-1
Jun 22, 2026
Merged

Potential fix for code scanning alert no. 1: Workflow does not contain permissions#4
MatissJanis merged 1 commit into
mainfrom
alert-autofix-1

Conversation

@MatissJanis

Copy link
Copy Markdown
Member

Potential fix for https://github.com/actualbudget/maintainer-dashboard/security/code-scanning/1

Add an explicit permissions block to the workflow so GITHUB_TOKEN is constrained to least privilege.
Best fix here: set workflow-level permissions to contents: read, since all shown jobs are read-only CI tasks and no write scopes are needed.

File to change: .github/workflows/ci.yml
Region: after the on: trigger block and before jobs:.

No imports, methods, or dependencies are needed (YAML config only).

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

…n permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@netlify

netlify Bot commented Jun 22, 2026

Copy link
Copy Markdown

Deploy Preview for ab-maintainer-dashboard ready!

Name Link
🔨 Latest commit 8009a49
🔍 Latest deploy log https://app.netlify.com/projects/ab-maintainer-dashboard/deploys/6a399b8c7a002800089bafa3
😎 Deploy Preview https://deploy-preview-4--ab-maintainer-dashboard.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@MatissJanis
MatissJanis marked this pull request as ready for review June 22, 2026 20:31
@MatissJanis
MatissJanis merged commit c43e2ac into main Jun 22, 2026
8 checks passed
@MatissJanis
MatissJanis deleted the alert-autofix-1 branch June 22, 2026 20:35
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