Skip to content

chore: add minimum permissions to workflows#98

Merged
wadackel merged 1 commit into
mainfrom
claude/add-workflow-permissions
May 15, 2026
Merged

chore: add minimum permissions to workflows#98
wadackel merged 1 commit into
mainfrom
claude/add-workflow-permissions

Conversation

@tapih
Copy link
Copy Markdown
Contributor

@tapih tapih commented May 15, 2026

Summary

knowledge-work/knowledgework#116114 ("サプライチェーン対策: 既存 GitHub Actions の権限最小化") の対応漏れ。本リポジトリのワークフローに最小限の permissions: ブロックを追加します。

Changes

Workflow Permissions
.github/workflows/commitlint.yaml contents: read, pull-requests: read
  • contents: read: actions/checkout
  • pull-requests: read: wagoid/commitlint-github-action が PR コミット一覧を GitHub API 経由で取得するため

Test plan

  • CI (commitlint) が PR 上で成功すること

🤖 Generated with Claude Code

knowledge-work/knowledgework#116114 の対応漏れ。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@tapih tapih marked this pull request as ready for review May 15, 2026 05:04
@tapih tapih requested a review from wadackel May 15, 2026 05:04
Copy link
Copy Markdown
Collaborator

@wadackel wadackel left a comment

Choose a reason for hiding this comment

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

thx

@wadackel wadackel merged commit f8fa3b5 into main May 15, 2026
3 checks passed
@wadackel wadackel deleted the claude/add-workflow-permissions branch May 15, 2026 05:05
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