Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#24 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

@aRustyDev đang làm issue này rồi.

Từ ngày 27/1/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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
Ngôn ngữ chính
Shell
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của aRustyDev/gh

Tất cả issue của aRustyDev/gh

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.