Le lab epingler-et-maintenir : un dépôt à tags mobiles passe en SHA, et Dependabot les maintient avec un cooldown
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- docker, github-actions, python
- Lĩnh vực
- ci-cd, devops, documentation, security, testing-qa
Hướng nghiên cứu
Start with labs/securite/epingler-et-maintenir/lab.yaml, scenario.md, challenge/, and solution/, then read the referenced lessons and run the lab validator. Use scripts/valider-labs.py, pinact, zizmor, actionlint, and the named metadata test to check the lab. Done means validation reaches 100, scanner checks pass, metadata is declared, and the challenge is meaningfully distinct from the solution.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Mesuré le 2026-09-25 sur le parcours github-actions.yaml et les leçons du blog.
Lab labs/securite/epingler-et-maintenir, module securite. Leçons éprouvées :
/docs/pipeline-cicd/github/securite/pinner-sha//docs/pipeline-cicd/github/securite/maintenance-sha/
La leçon maintenance-sha l.197-218 propose une auto-fusion Dependabot en pull_request_target gardée par github.actor == 'dependabot[bot]' : c'est exactement ce que zizmor bot-conditions et poutine confused_deputy_auto_merge condamnent, deux leçons plus loin. Le lab fournit cet exemple comme point de départ à corriger, jamais comme solution.
Jouable avec act : partiel
Local : forme des épinglages, schéma Dependabot, zizmor à 0. Réseau : pinact --verify. Plateforme : Dependabot lui-même.
Ce qui n'est pas qu'un copier-coller
Le commentaire de version est lu par Dependabot. Un SHA sans commentaire ne sera jamais mis à jour ; un commentaire faux fera proposer une mauvaise montée. Le test exige, pour chaque uses:, un SHA de 40 caractères, un commentaire # vX.Y.Z, et la correspondance des deux par pinact run --verify (API). dependabot.yml doit porter les trois écosystèmes (github-actions, docker, pip), un cooldown et des groups, validé par le schéma officiel. L'auto-fusion corrigée doit être en pull_request avec github.event.pull_request.user.login.
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
- Ngôn ngữ chính
- Python
- Star
- 7
- Fork
- 4
- Merge trung bình
- 2 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 8
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của stephrobert/github-actions-training
-
Le lab gh-piloter-les-runs : déclencher, suivre avec --exit-status, relancer les seuls jobs en échecĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 68/100
stephrobert/github-actions-training#48 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 68/100
stephrobert/github-actions-training#47 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 68/100
stephrobert/github-actions-training#46 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 72/100
stephrobert/github-actions-training#45 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 68/100
stephrobert/github-actions-training#44 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của stephrobert/github-actions-training
Issue tương tự
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
Bforartists/Manual#1916 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
JdeRobot/PerceptionMetrics#698 ·
Maintainer thường phản hồi trong vòng 6 ngày
-
good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
rootsiemen/seo-agent-tools#70 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
stephrobert/dsoxlab#413 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
format:line_indent keeps the second of two consecutive blank lines, so valid stairs failCó thể đã có người làm @albertlieyingadrian đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100