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): atomic-branch/create-pr - Create/update PR with attestation

Đang mở
#29 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 - Core W2 functionality

Description

Create a composite action that creates or updates a PR with attestation lineage.

For each artifact branch, creates a PR to the target branch that carries forward the attestation chain from the source PR.

Inputs

Input Required Default Description
artifact Yes - Artifact name
branch Yes - Source branch for PR
target-branch No main Target branch for PR
source-pr No - Source PR number (for lineage)
attestation-map No {} Attestation map to carry forward
source-branch No integration Original source branch name
token No github.token GitHub token

Outputs

Output Description
pr-number PR number (new or existing)
pr-action Action taken: "created", "updated", or "unchanged"
pr-url Full PR URL

Usage Example

- uses: arustydev/gha/actions/atomic-branch/create-pr@v1
  id: pr
  with:
    artifact: my-chart
    branch: charts/my-chart
    target-branch: main
    source-pr: 123
    attestation-map: '{"lint": "att-123"}'

- run: echo "PR: ${{ steps.pr.outputs.pr-url }}"

Source Reference

gha/.github/workflows/atomic-release-atomize-changes.yml:

  • Create/update PR step (lines 315-402)

Implementation Notes

  • Check for existing PR before creating
  • Include attestation map in PR body
  • Handle race conditions gracefully
  • Use conventional commit format for PR title
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.