aboutsummaryrefslogtreecommitdiffstats
path: root/.golangci.yml
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2020-12-14 17:08:37 +0000
committerGitHub <noreply@github.com>2020-12-14 19:08:37 +0200
commitc3fc190372cb525fdacf60606bf8aaf1c33e7da7 (patch)
treeadd7dd5e8f9ca995e4f8758fa4af9db63e0325d5 /.golangci.yml
parent729f0f5f7ba98e9472d69f30a6c9433039f5e0a0 (diff)
downloadgitea-c3fc190372cb525fdacf60606bf8aaf1c33e7da7.tar.gz
gitea-c3fc190372cb525fdacf60606bf8aaf1c33e7da7.zip
Trim the branch prefix from action.GetBranch (#13981)
* Trim the branch prefix from action.GetBranch #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 <art27@cantab.net> * Update models/action.go Co-authored-by: a1012112796 <1012112796@qq.com> Co-authored-by: a1012112796 <1012112796@qq.com>
Diffstat (limited to '.golangci.yml')
0 files changed, 0 insertions, 0 deletions