Skip to content

This action can help you to get the current branch name when run an action on a feature branch!

Notifications You must be signed in to change notification settings

igordcsouza/github-action-get-branch-name

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Welcome to github-action-get-branch-name 👋

Version Twitter: igordcsouza

This action can help you to get the current branch name when run an action on a feature branch!

Variables

  • TOKEN: A valid Github token.

How to use

  - 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}

Author

👤 Igor Souza

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

About

This action can help you to get the current branch name when run an action on a feature branch!

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published