Skip to content

chore: limit the docs workflow's token permissions - #87

Merged
shenxianpeng merged 1 commit into
mainfrom
claude/project-thread-huu4p1
Oct 22, 2026
Merged

shenxianpeng merged 1 commit into
mainfrom
claude/project-thread-huu4p1

Conversation

@shenxianpeng

@shenxianpeng shenxianpeng commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Summary

deploy.yml had no permissions block, so the build job ran with the repository's default token, which can write everything. This adds permissions: {} at the top and contents: read for build. The deploy job keeps pages: write and id-token: write.

Related Issues

None.

The default GITHUB_TOKEN in this repo has write access to everything,
so the docs build job ran with full write access. It only needs to read
the repository; the deploy job keeps its pages and id-token permissions.
@netlify

netlify Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cpp-linter-github-io ready!

Name Link
🔨 Latest commit c749c37
🔍 Latest deploy log https://app.netlify.com/projects/cpp-linter-github-io/deploys/6ada5304558ceef450ef0e82
😎 Deploy Preview https://deploy-preview-87--cpp-linter-github-io.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@shenxianpeng shenxianpeng self-assigned this Oct 22, 2026
@shenxianpeng
shenxianpeng merged commit 1972bed into main Oct 22, 2026
7 checks passed
@shenxianpeng
shenxianpeng deleted the claude/project-thread-huu4p1 branch October 22, 2026 18:33
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.

2 participants