Fix worflow run behaviour
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Inspect the workflow_run configuration and the release workflow that currently uses github.ref_name and anothrNick/github-tag-action@1.39.0. Compare those values with github.event.workflow_run to determine how the calling workflow branch should be selected. Done means tagging uses the calling workflow's branch rather than the default branch, with the existing action replacement considered separately.
Written by the indexing model from the issue text.
Description
Currently worflow_run doesn't happen in the context of the caller workflow, which means that the branch is always the default one, and the tagging will get wrong on release branches.
Instead of using github.ref_name and getting the dev branch for instance
one should use github.event.workflow_run to get the calling workflow branch
we should probably try to get rid of the anothrNick/github-tag-action@1.39.0 action all together to be honest
- Dominant language
- No language data
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from trakx/github-actions
-
bug enhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
trakx/github-actions#5 · 1 comment ·
All issues in trakx/github-actions
Similar issues
-
kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/prow#953 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
automated-analysis bug memory-safety
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
area/entangle bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
kind/bug Ubuntu 24
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kubernetes-sigs/kubespray#13532 ·