linux-system-roles / vpn

Role for managing VPN/IPSec
https://linux-system-roles.github.io/vpn/
MIT License
8 stars 14 forks source link

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

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