Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[workshop-sync] workshop/side-quest-13-01-pr-labeler-pattern.md: agent job uses write permission

オープン 初心者向け
#5,154 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
88/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github, github-actions
領域
documentation

調査の方向性

workshop/side-quest-13-01-pr-labeler-pattern.mdを編集し、エージェントジョブのpull-requests権限をwriteからreadに変更して、safe-outputs: add-labelsは維持してください。github-agentic-workflows.mdの権限に関するガイダンスを読み、workshop/side-quest-13-03-pr-checklist-pattern.mdと比較してください。gh aw compileを実行してください。エージェントの権限が読み取り専用の状態でワークショップファイルがコンパイルできれば完了です。

索引モデルが issue の本文から書いたものです。

説明

documentation

Workshop file reviewed

workshop/side-quest-13-01-pr-labeler-pattern.md (gh-aw v1.0.1)

Problem

The example frontmatter grants write access to the agent job:

permissions:
pull-requests: write

Current correct syntax

The gh-aw reference guidance (github-agentic-workflows.md) says to keep agent-job permissions read-only when writes are handled by safe outputs. Safe-output writes run in separate jobs with their own permissions. Strict mode, which is the default, also refuses write permissions. The compile step in the workshop is therefore likely to fail or teach an anti-pattern. Compare side-quest-13-03-pr-checklist-pattern.md, which uses pull-requests: read.

Suggested fix

Change pull-requests: write to pull-requests: read. Keep safe-outputs: add-labels. Re-validate with gh aw compile.

Note: workshop/side-quest-13-02-pr-summary-pattern.md has the same problem. It is tracked in a separate issue.

Generated by 🔍 Workshop Sync Check · copilot · auto · ~21 AIC · ⌖ ~1 AIC · ⊞ 4.7K · ◷

  • expires on Oct 31, 2026, 8:04 AM UTC
主要言語
JavaScript
スター
56
フォーク
40
平均マージ
2日 15時間
マージ済み PR(30日)
14

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

githubnext/gh-aw-workshop のほかの issue

githubnext/gh-aw-workshop の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。