Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
git-branch

GitHub Action

PR Branch Name

1.0.1

PR Branch Name

git-branch

PR Branch Name

Sets the PR Branch Name for other steps

Installation

Copy and paste the following snippet into your .yml file.

              

- name: PR Branch Name

uses: mdecoleman/pr-branch-name@1.0.1

Learn more about this action in mdecoleman/pr-branch-name

Choose a version

Pull Request Branch Name

A github action that retrieves the pull request branch name and sets it in the output for other actions to use.

Usage

- uses: mdecoleman/pr-branch-name@1.0.1
  id: vars
  with:
    repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: echo ${{ steps.vars.outputs.branch }}

License

The scripts and documentation in this project are released under the MIT License