This action can help you to get the current branch name when run an action on a feature branch!
- TOKEN: A valid Github token.
- uses: igordcsouza/github-action-get-branch-name@master
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
- name: Set branch name as VARIABLE_NAME
run: echo ::set-env name=VARIABLE_NAME::${BRANCH_NAME}
👤 Igor Souza
- Twitter: @igordcsouza
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator