Fix worflow run behaviour

Open
#8 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
github-actions
Domain
ci-cd, release

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

bug dependencies enhancement

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from trakx/github-actions

All issues in trakx/github-actions

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.