feat(action): attestation/update-pr-map - Update attestation map in PR
@aRustyDev ci sta già lavorando.
Dal 27/1/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Parent Epic
Part of #22 (Atomic Release Pipeline Actions)
Priority
P0 - Core attestation functionality used by W1, W5
Description
Create a composite action that updates the attestation map in a PR description.
Adds or updates an attestation ID for a given check name, using HTML comments:
<!-- ATTESTATION_MAP
{"lint-test-v1.32.11": "attestation-id-1", "install-test-v1.32.11": "attestation-id-2"}
-->
Inputs
| Input | Required | Default | Description |
|---|---|---|---|
pr-number |
Yes | - | PR number to update |
check-name |
Yes | - | Name of the check (e.g., "lint-test-v1.32.11") |
attestation-id |
Yes | - | The attestation ID to store |
token |
No | github.token |
GitHub token for API access |
Outputs
| Output | Description |
|---|---|
updated |
"true" if successfully updated |
map |
Updated JSON object |
Usage Example
- uses: arustydev/gha/actions/attestation/update-pr-map@v1
with:
pr-number: ${{ github.event.pull_request.number }}
check-name: "lint-test-v1.32.11"
attestation-id: ${{ steps.attest.outputs.attestation-id }}
Source Reference
helm-charts/.github/scripts/attestation-lib.sh:
update_attestation_map()(lines 36-118)
Implementation Notes
- Use exponential backoff retry for concurrent updates
- Create map section if it doesn't exist
- Preserve existing attestations when adding new ones
- Lingua principale
- Shell
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri 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 aRustyDev/gh
-
dependencies github-actions
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 10/100
-
dependencies github-actions
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 15/100
-
dependencies github-actions
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 50/100
-
dependencies github-actions
Difficoltà 2/5 1-3 ore Idoneità per principianti 20/100
-
dependencies github-actions
Difficoltà 2/5 1-3 ore Idoneità per principianti 10/100
Tutte le issue di aRustyDev/gh
Issue simili
-
When `ls` is aliased to a single word such as `eza`, `znap pull` attempts to execute a bogus command Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
marlonrichert/zsh-snap#320 ·
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
WordPress/Documentation-Issue-Tracker#2513 · 2 commenti ·
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
Netcracker/qubership-apihub#818 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100