Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trim the branch prefix from action.GetBranch
go-gitea#13882 has revealed that the refname of an action is actually only a refname pattern and necessarily a branch. For examplem pushing to refs/heads/master will result in action with refname refs/heads/master but pushing to master will result in a refname master. The simplest solution to providing a fix here is to trim the prefix therefore this PR proposes this. Signed-off-by: Andrew Thornton <[email protected]>
- Loading branch information