Skip to content

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

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

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

Conversation

@fescii

@fescii fescii commented Jun 22, 2026

Copy link
Copy Markdown
Member

Potential fix for https://github.com/aduki-org/anza/security/code-scanning/2

Add an explicit permissions block at the workflow root in .github/workflows/ci.yml, directly after the on: trigger section (before concurrency: is a clean placement).
Use the minimal permission required by this workflow:

  • contents: read

This applies to all jobs (build-rust, typecheck-library, verify-create) unless overridden, and does not change existing functionality while ensuring GITHUB_TOKEN is explicitly constrained.

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>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 22, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
anza 06338d1 Jun 22 2026, 11:25 AM

@fescii
fescii marked this pull request as ready for review June 22, 2026 11:26
@fescii
fescii merged commit d1548e8 into main Jun 22, 2026
8 of 9 checks passed
@fescii
fescii deleted the alert-autofix-2 branch July 28, 2026 16:50
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