linux-system-roles / storage

Ansible role for linux storage management
https://linux-system-roles.github.io/storage/
MIT License
101 stars 59 forks source link

Use GITHUB_REF_NAME if main or master [citest skip] #294

Closed richm closed 2 years ago

richm commented 2 years ago

Use GITHUB_REF_NAME for the push branch name if main or master, otherwise use other methods. Fix a bug with using git branch -r to ignore errors if branch did not match pattern.