Sticky PR comment: MVP that always posts the full table
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 68/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- github-actions, javascript
- Ambito
- ci-cd
Direzione di ricerca
Read the action entry point and README to find how inputs, pull request events, and permissions are handled. Implement the opt-in comment: true behavior with direct REST API fetch calls, using a hidden HTML-comment marker to update the PR's existing comment; skip push events and warn without failing when permission is missing. Done when repeated runs keep one full-table comment per PR and the README documents the required pull-requests: write permission.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Split out of #4, scoped to the part #4 itself calls the straightforward piece: "upsert a single comment containing the registry table, keyed by a hidden marker."
Scope
Implement only the always-post-full-table behaviour, opt-in via with: comment: true, defaulting to off. No diff-against-base-branch logic (that's the second half of #4, split separately so it can be reviewed independently).
Acceptance criteria
-
comment: trueon apull_requestevent upserts one comment per PR, keyed by a hidden HTML-comment marker, editing the same comment on repeated runs instead of accumulating. - No-op on
pushevents. - Uses
fetchagainst the REST API directly (no new runtime dependency), per #4's existing constraint. - Missing/insufficient token permission (
pull-requests: write) produces a clear warning and the job still exits normally rather than failing the build over a comment it couldn't post. - README documents the required permission.
Complexity: medium.
Depends on: none; this can land before the diff-aware follow-up.
- Lingua principale
- JavaScript
- Stelle
- 0
- Fork
- 0
- Merge medio
- 7h 28m
- PR unite (30g)
- 10
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di codepacct/codepact-action
-
documentation good first issue wave
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
codepacct/codepact-action#68 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue wave
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
codepacct/codepact-action#67 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue tests wave
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
codepacct/codepact-action#66 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue tests wave
Difficoltà 1/5 1-3 ore Idoneità per principianti 79/100
codepacct/codepact-action#65 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue tests wave
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
codepacct/codepact-action#64 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di codepacct/codepact-action
Issue simili
-
bug security
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
IbrahimHafez1/loadwise#251 ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 87/100
erkamyaman/unslop-anything#421 ·
I maintainer di solito rispondono entro 1 giorno