feat(action): attestation/create - Create attestation with PR map update
@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ả
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-mapif pr-number provided - Provides consistent interface with other attestation actions
Source Reference
Used throughout helm-charts workflows:
validate-contribution-pr.yamlvalidate-atomic-chart-pr.yamlrelease-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
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aRustyDev/gh
-
dependencies github-actions
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 10/100
-
dependencies github-actions
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 15/100
-
dependencies github-actions
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 50/100
-
dependencies github-actions
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 20/100
-
dependencies github-actions
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 10/100
Issue tương tự
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
alunduil/alunduil-chezmoi#895 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:deploy priority:p3 severity:low track:open-source
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
backend
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
PacReq: mangowcĐang mởpackage request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
pacstall/pacstall-programs#9475 ·
Maintainer thường phản hồi trong vòng 2 ngày