linux-system-roles / template

example template for creating new subsystem roles
https://linux-system-roles.github.io/template/
MIT License
13 stars 20 forks source link

Use GITHUB_REF_NAME as name of push branch; fix error in branch detection [citest skip] #84

Closed richm closed 2 years ago

richm commented 2 years ago

We need to get the name of the branch to which CHANGELOG.md was pushed. For now, it looks as though GITHUB_REF_NAME is that name. But don't trust it - first, check that it is main or master. If not, then use a couple of other methods to determine what is the push branch.

Signed-off-by: Rich Megginson rmeggins@redhat.com