Skip to content

fix: grant PR read permission to test workflow#800

Merged
ponharu merged 1 commit into
mainfrom
fix/test-workflow-pr-permission
May 21, 2026
Merged

fix: grant PR read permission to test workflow#800
ponharu merged 1 commit into
mainfrom
fix/test-workflow-pr-permission

Conversation

@ponharu
Copy link
Copy Markdown
Member

@ponharu ponharu commented May 21, 2026

概要

  • wbfy が生成する test.ymlpull-requests: read 権限を追加
  • pkg-preflight が PR の変更ファイル一覧を取得する際の 403 を防ぐ

背景

permissions を明示した workflow では未指定権限が無効化されるため、contents: write だけだと reusable workflow に渡す GITHUB_TOKENpulls/{number}/files を読めない状態でした。

検証

  • yarn verify

Co-authored-by: WillBooster (Codex CLI) <agent@willbooster.com>
@ponharu ponharu self-assigned this May 21, 2026
@ponharu ponharu merged commit 0003b59 into main May 21, 2026
7 checks passed
@ponharu ponharu deleted the fix/test-workflow-pr-permission branch May 21, 2026 07:43
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the GitHub Actions workflow configuration in packages/wbfy/src/generators/workflow.ts by adding 'pull-requests: read' permissions to support file listing for pkg-preflight. There are no review comments to address, and I have no feedback to provide.

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