Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

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

Geschlossen Anfängerfreundlich
#4,635 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
62/100
Issue-Typ
Dokumentation
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
github-actions, markdown
Bereich
documentation

Rechercherichtung

Beginne in workshop/side-quest-13-01-pr-labeler-pattern.md und ändere im Agent-Job pull-requests: write zu pull-requests: read, wie im Issue beschrieben. Prüfe dann anhand der gh-aw-Referenz für safe-outputs, ob limit: durch max: ersetzt werden sollte, und wende dieselbe Prüfung auf side-quest-13-02 und 13-03 an. Fertig ist, wenn alle drei Dateien der Referenz entsprechen und gh aw compile das Beispiel validiert.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
Vorherrschende Sprache
JavaScript
Sterne
53
Forks
35
Ø Merge
1 T. 6 Std.
Gemergte PRs (30 T.)
15

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

  • Kein Dockerfile und keine Docker-Compose-Datei
  • Keine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus githubnext/gh-aw-workshop

Alle Issues in githubnext/gh-aw-workshop

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.