Le lab gh-piloter-les-runs : déclencher, suivre avec --exit-status, relancer les seuls jobs en échec
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 68/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- github, github-actions, python
- 領域
- ci-cd, documentation, testing-qa
調査の方向性
Start in labs/outils/gh-piloter-les-runs, then read /docs/pipeline-cicd/github/gh-cli/ and inspect the existing lab conventions. Run python3 scripts/valider-labs.py --lab before changing anything, and use the stated gh workflow scenario to verify exit status, rerun, and success handling. Done means the lab metadata, challenge, solution, hints, validation, pinned actions, and meta test all satisfy the listed checks.
索引モデルが issue の本文から書いたものです。
説明
Mesuré le 2026-09-25 sur le parcours github-actions.yaml et les leçons du blog.
Lab labs/outils/gh-piloter-les-runs, module outils. Leçons éprouvées :
/docs/pipeline-cicd/github/gh-cli/
La leçon emploie gh run watch sans --exit-status (l.429, 811-815) : sans lui, la commande sort en 0 même sur un run en échec, et le step « Wait for checks » ne bloque jamais. gh run view --json artifacts (l.482) n'existe pas. Trois exemples appellent gh dans Actions sans checkout ni GH_REPO. Le lab fait mesurer les codes de sortie.
Jouable avec act : non
Plateforme : gh sur LAB_REPO.
Ce qui n'est pas qu'un copier-coller
Le code de sortie est l'état. Le test plateforme déclenche par gh workflow run sur LAB_REPO un workflow qui échoue sur un input, exige gh run watch --exit-status non nul, gh run rerun --failed après correction de l'input, puis gh run view --json conclusion à success. Un script fourni par l'apprenant doit rendre le bon code, et le test l'exécute.
Définition de terminé
-
lab.yamlrenseigné :module,doc_url,lessons,act(oui, partiel, non) etact_notesqui dit pourquoi -
scenario.mddécrit une situation et un objectif, pas un mode d'emploi ; aucun emoji, aucun tiret cadratin -
challenge/est un point de départ que l'apprenant modifie,solution/une solution de référence rejouable - chaque test lit l'état (résultat d'act, findings d'un scanner, réponse de
gh api), et le dernier exerce les deux côtés - la question « serait-il vert si l'apprenant ne faisait rien ? » a reçu non pour chaque test
-
python3 scripts/valider-labs.py --lab <id>rend 0 avant, 100 après, rejouable ; le verdict est dansvalidation-labs.json - les actions de la solution sont épinglées par SHA au tag mesuré ce jour, commentaire de version vérifié par
pinact run --check -
zizmor --offlineetactionlintrendent 0 sursolution/ - le lab est dans
meta.yml,tests/test_meta_declare_les_labs.pyest vert - quatre indices base64 de coût croissant dans
challenge/hints.yaml
- 主要言語
- Python
- スター
- 7
- フォーク
- 4
- 平均マージ
- 2日 10時間
- マージ済み PR(30日)
- 8
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
stephrobert/github-actions-training のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
stephrobert/github-actions-training#47 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
stephrobert/github-actions-training#46 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 72/100
stephrobert/github-actions-training#45 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
stephrobert/github-actions-training#44 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
stephrobert/github-actions-training#43 ·
メンテナーはふだん 1 日以内に返信
stephrobert/github-actions-training の issue をすべて見る
似ている issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
Bforartists/Manual#1916 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
JdeRobot/PerceptionMetrics#698 ·
メンテナーはふだん 6 日以内に返信
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
rootsiemen/seo-agent-tools#70 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
stephrobert/dsoxlab#413 ·
メンテナーはふだん 1 日以内に返信
-
format:line_indent keeps the second of two consecutive blank lines, so valid stairs fail対応中かも @albertlieyingadrian が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100