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/verify-chain - Verify attestation chain

Đang mở
#26 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

P1 - Security validation used by W5, W6

Description

Create a composite action that verifies all attestations in a chain.

Iterates through an attestation map and verifies each attestation is valid and was created by the expected repository.

Inputs

Input Required Default Description
attestation-map Yes - JSON object of check_name → attestation_id
repository No github.repository Repository in owner/repo format
token No github.token GitHub token for API access

Outputs

Output Description
verified "true" if all attestations valid
total Total number of attestations checked
passed Number that passed verification
failed Number that failed verification

Usage Example

- uses: arustydev/gha/actions/attestation/verify-chain@v1
  id: verify
  with:
    attestation-map: ${{ steps.extract.outputs.map }}

- run: |
    if [[ "${{ steps.verify.outputs.verified }}" != "true" ]]; then
      echo "Attestation chain verification failed!"
      exit 1
    fi

Source Reference

helm-charts/.github/scripts/attestation-lib.sh:

  • verify_attestation_chain() (lines 195-248)

Implementation Notes

  • Try OCI bundle verification first, fall back to API
  • Report detailed results for each attestation
  • Fail fast on critical errors, continue on verification failures
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

Chuẩn bị môi trường

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.