feat(action): atomic-branch/create-pr - Create/update PR with attestation
@aRustyDev がすでに取り組んでいます。
2026年1月27日 から。
評価
この issue はまだ評価されていません。
説明
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
- 主要言語
- Shell
- スター
- 0
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aRustyDev/gh のほかの issue
-
dependencies github-actions
難易度 1/5 1時間未満 初心者へのやさしさ 10/100
-
dependencies github-actions
難易度 1/5 1時間未満 初心者へのやさしさ 15/100
-
dependencies github-actions
難易度 1/5 1時間未満 初心者へのやさしさ 50/100
-
dependencies github-actions
難易度 2/5 1〜3時間 初心者へのやさしさ 20/100
-
dependencies github-actions
難易度 2/5 1〜3時間 初心者へのやさしさ 10/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
mesonbuild/wrapdb#2961 ·
メンテナーはふだん 1 日以内に返信
-
command: monitor command: update info: steamcmd reproducible: always severity: medium type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
GameServerManagers/LinuxGSM#4997 ·
メンテナーはふだん 1 日以内に返信
-
area:space-accuracy good first issue track:data
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
Sara-Managed-Projects/space-radar#886 ·
メンテナーはふだん 1 日以内に返信
-
bug-unconfirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
zerocracy/judges-action#2733 ·
メンテナーはふだん 8 日以内に返信