Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

feat(action): attestation/update-pr-map - Update attestation map in PR

Aperta
#24 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@aRustyDev ci sta già lavorando.

Dal 27/1/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

enhancement new-action

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aRustyDev/gh

Tutte le issue di aRustyDev/gh

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.