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/create - Create attestation with PR map update

Đang mở
#36 0 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 needed by all workflows

Description

Create a composite action that wraps actions/attest-build-provenance with a consistent interface matching our other attestation actions.

This provides a unified API for generating attestations and automatically updates the PR attestation map.

Inputs

Input Required Default Description
subject-name Yes - Name for the attestation subject
subject-digest Yes - SHA256 digest of the subject
pr-number No - PR number to update attestation map
check-name No - Check name for attestation map entry
push-to-registry No false Push attestation to GHCR
token No github.token GitHub token

Outputs

Output Description
attestation-id The generated attestation ID
bundle-path Path to the attestation bundle

Usage Example

- uses: arustydev/gha/actions/attestation/create@v1
  id: attest
  with:
    subject-name: "my-chart-v1.2.3"
    subject-digest: ${{ steps.digest.outputs.digest }}
    pr-number: ${{ github.event.pull_request.number }}
    check-name: "lint-test"

Implementation Notes

  • Wraps actions/attest-build-provenance@v2
  • Optionally calls attestation/update-pr-map if pr-number provided
  • Provides consistent interface with other attestation actions

Source Reference

Used throughout helm-charts workflows:

  • validate-contribution-pr.yaml
  • validate-atomic-chart-pr.yaml
  • release-atomic-chart.yaml
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.