branch-name icon indicating copy to clipboard operation
branch-name copied to clipboard

Support setting the github.head_ref branch for a Pull Request

Open donovanmuller opened this issue 3 years ago • 1 comments

Currently this action returns a branch like the below example when triggered from a pull_Request:

BRANCH_NAME: 3/merge

The branch returned from the expression github.head_ref would be the expected value. It would be great if this action could support this.

donovanmuller avatar Feb 01 '21 10:02 donovanmuller

I made an action that works on pull_request too https://github.com/EthanSK/git-branch-name-action

EthanSK avatar Apr 17 '21 02:04 EthanSK