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

[workshop-sync] workshop/side-quest-13-01-pr-labeler-pattern.md: agent-job permissions should be read-only for safe-output writes

クローズ 初心者向け
#4,635 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
62/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github-actions, markdown
領域
documentation

調査の方向性

workshop/side-quest-13-01-pr-labeler-pattern.md から始め、issue に記載のとおり、agent ジョブの pull-requests: write を pull-requests: read に変更してください。次に、gh-aw の safe-outputs リファレンスと照らして limit: を max: にすべきかを確認し、同じ確認を side-quest-13-02 と 13-03 にも適用してください。3 つのファイルすべてがリファレンスと一致し、gh aw compile がサンプルを検証できれば完了です。

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

説明

documentation

Workshop file reviewed

workshop/side-quest-13-01-pr-labeler-pattern.md (reviewed with side-quest-11-09-agent-session-phases.md and side-quest-12-01-iterate-agent-output.md, which had no findings). gh-aw release checked: v0.92.0.

Problem

The labeller example grants write permission to the agent job:

permissions:
pull-requests: write
contents: read
safe-outputs:
add-labels:
limit: 5

The gh-aw guidance (github-agentic-workflows.md reference) says: "Keep agent-job permissions read-only when writes are handled solely by safe outputs. For example, add-comment needs pull-requests: read ... not pull-requests: write. Safe-output writes run in separate jobs with their own permissions." The same applies to add-labels.

Possible secondary issue (needs verification)

The example sets the cap with limit: 5. The safe-outputs reference commonly uses max: for this cap. The snapshot of docs available to this check did not include the full safe-outputs page, so this could not be confirmed. The same limit: key appears in side-quest-13-02-pr-summary-pattern.md and side-quest-13-03-pr-checklist-pattern.md. Please check against https://github.github.com/gh-aw/reference/safe-outputs/.

Suggested fix

  • Change pull-requests: write to pull-requests: read.
  • Confirm that limit vs max matches the current safe-outputs schema, and fix all three side quests if needed.
  • Recompile the example with gh aw compile to confirm it validates.

Generated by 🔍 Workshop Sync Check · copilot · auto · 23.3 AIC · ⌖ 0.544 AIC · ⊞ 9.2K · ◷

  • expires on Oct 17, 2026, 4:50 AM UTC
主要言語
JavaScript
スター
53
フォーク
35
平均マージ
1日 6時間
マージ済み PR(30日)
15

環境構築

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 を短くまとめたダイジェスト。