feat(action): atomic-branch/create-branch - Create/update artifact branch
@aRustyDev ci sta già lavorando.
Dal 27/1/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Parent Epic
Part of #22 (Atomic Release Pipeline Actions)
Priority
P1 - Core W2 functionality
Description
Create a composite action that creates or updates an artifact-specific branch.
For each changed artifact, creates a dedicated branch (e.g., charts/my-chart) containing only changes for that artifact.
Inputs
| Input | Required | Default | Description |
|---|---|---|---|
artifact |
Yes | - | Artifact name |
artifact-path |
Yes | - | Path to artifacts directory |
branch-prefix |
No | <artifact-path> |
Prefix for branch name |
target-branch |
No | main |
Base branch for new branches |
source-sha |
No | github.sha |
Commit SHA to copy artifact from |
Outputs
| Output | Description |
|---|---|
branch |
Full branch name (e.g., "charts/my-chart") |
updated |
"true" if branch was updated, "false" if no changes |
sha |
New branch HEAD SHA |
Usage Example
- uses: arustydev/gha/actions/atomic-branch/create-branch@v1
id: branch
with:
artifact: my-chart
artifact-path: charts
branch-prefix: charts
target-branch: main
- run: echo "Branch: ${{ steps.branch.outputs.branch }}"
Source Reference
gha/.github/workflows/atomic-release-atomize-changes.yml:
- Create/update artifact branch step (lines 227-313)
Implementation Notes
- Check if branch exists, fetch if so
- Skip if artifact content is already identical
- Use force-with-lease for safe pushes
- Implement retry logic for push failures
- Lingua principale
- Shell
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di aRustyDev/gh
-
dependencies github-actions
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 10/100
-
dependencies github-actions
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 15/100
-
dependencies github-actions
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 50/100
-
dependencies github-actions
Difficoltà 2/5 1-3 ore Idoneità per principianti 20/100
-
dependencies github-actions
Difficoltà 2/5 1-3 ore Idoneità per principianti 10/100
Tutte le issue di aRustyDev/gh
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
quickemu-project/quickemu#1960 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
review-drift
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
oxidecomputer/hansei#14 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
sclorg/s2i-ruby-container#656 ·
-
[BUG] `mo clean` deletes DiagnosticReports directory and breaks crash reportingForse già presa @md786-dotcom l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno