[workshop-sync] side-quest-13-01-pr-labeler-pattern.md: invalid add-labels schema and disallowed write permission
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 92/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- github-actions, markdown, yaml
- Área
- documentation
Línea de trabajo
Abre workshop/side-quest-13-01-pr-labeler-pattern.md e inspecciona el frontmatter de ejemplo en .github/workflows/pr-labeler.md. Sustituye el campo no válido add-labels y elimina el permiso de escritura no permitido según se describe. Después, ejecuta gh aw compile --validate en strict mode. La tarea estará terminada cuando el ejemplo se compile sin errores ni advertencias.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Workshop file reviewed
workshop/side-quest-13-01-pr-labeler-pattern.md
Problem
The example workflow frontmatter in this file fails to compile with the current gh-aw CLI (v0.89.21) for two reasons:
-
Invalid
add-labelsfieldlimit:safe-outputs: add-labels: limit: 5Compiling this with
gh aw compile --validateproduces:error: Unknown property: limit. Valid fields are: allowed, allowed-repos, blocked, create-if-missing, github-app, github-token, issue-intent, issues, max, pull-requests, ... -
Disallowed write permission alongside
safe-outputs:permissions: pull-requests: write contents: readCompiling in strict mode (the workshop's default/recommended mode) produces:
error: strict mode: write permission 'pull-requests: write' is not allowed for security reasons. Use 'safe-outputs.create-issue', 'safe-outputs.create-pull-request', 'safe-outputs.add-comment', or 'safe-outputs.update-issue' to perform write operations safely.
Both errors were reproduced directly by compiling the exact snippet from the file with gh aw compile --validate.
Current correct syntax
- The
add-labelssafe output uses the fieldmax, notlimit, to cap the number of labels applied. permissions:should not declarepull-requests: writewhensafe-outputs.add-labelsis used —safe-outputsperforms the write on the agent's behalf and only read-level permissions are needed in the job. See https://github.github.com/gh-aw/reference/safe-outputs/
A corrected frontmatter block:
---
name: PR Labeler
on:
pull_request:
types: [opened, synchronize]
permissions:
contents: read
safe-outputs:
add-labels:
max: 5
---
This was verified to compile successfully with gh aw compile --validate (no errors or warnings).
Suggested fix
In the .github/workflows/pr-labeler.md example inside the workshop file:
- Replace
limit: 5withmax: 5undersafe-outputs.add-labels. - Remove
pull-requests: writefrom thepermissions:block, keeping onlycontents: read.
Generated by 🔍 Workshop Sync Check · copilot · auto · 204.5 AIC · ⌖ 6.8 AIC · ⊞ 9.2K · ◷
- expires on Oct 2, 2026, 8:58 AM UTC
- Lenguaje dominante
- JavaScript
- Estrellas
- 52
- Forks
- 26
- Merge medio
- 12 h 58 min
- PR fusionados (30 d)
- 15
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de githubnext/gh-aw-workshop
-
documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
githubnext/gh-aw-workshop#4496 ·
Los mantenedores suelen responder en 1 día
-
feedback simulation workshop
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
githubnext/gh-aw-workshop#4495 ·
Los mantenedores suelen responder en 1 día
-
feedback simulation workshop
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
githubnext/gh-aw-workshop#4494 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
githubnext/gh-aw-workshop#4491 ·
Los mantenedores suelen responder en 1 día
-
[workshop-sync] workshop/06-install-gh-aw.md: inaccurate gh aw init output and stale version exampleAbiertodocumentation
Dificultad 1/5 1-3 horas Aptitud para principiantes 86/100
githubnext/gh-aw-workshop#4490 ·
Los mantenedores suelen responder en 1 día
Todos los issues de githubnext/gh-aw-workshop
Issues similares
-
[Bug] Dev image build fails: `npm install` in the root Dockerfile runs out of memory (exit 134)Posiblemente ocupada @andest01 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
good first issue hacktoberfest help wanted
Dificultad 2/5 Menos de una hora Aptitud para principiantes 76/100
pacocartones/free-llm-api-hub#262 ·
Los mantenedores suelen responder en 1 día
-
agent-task risk:low
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
guyellis/http-status-check#512 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
microsoft/playwright#43327 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
microsoft/TypeScript#64758 ·
Los mantenedores suelen responder en 1 día