aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2021-04-26 23:41:25 -0400
committerJames McCoy <jamessan@jamessan.com>2021-04-26 23:45:40 -0400
commit0ab1f9ff3fb2036e9ef51672193620aff704884e (patch)
treec7cf9279939f7892fb941c94d2f0941a1244b807
parent2601296c3f871cc49d10b2d96ce0bf7a9de4ee1b (diff)
downloadrneovim-0ab1f9ff3fb2036e9ef51672193620aff704884e.tar.gz
rneovim-0ab1f9ff3fb2036e9ef51672193620aff704884e.tar.bz2
rneovim-0ab1f9ff3fb2036e9ef51672193620aff704884e.zip
ci(gha/vim-patches): Create PR against branch running the workflow
Avoids hard-coding branch names. [skip ci]
-rw-r--r--.github/workflows/vim-patches.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/vim-patches.yml b/.github/workflows/vim-patches.yml
index 38e19d5e25..5742b51158 100644
--- a/.github/workflows/vim-patches.yml
+++ b/.github/workflows/vim-patches.yml
@@ -49,4 +49,4 @@ jobs:
git add -u
git commit -m 'version.c: update [skip ci]'
git push --force https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY} ${VERSION_BRANCH}
- gh pr create --fill --label vim-patch --base master --head ${VERSION_BRANCH} || true
+ gh pr create --fill --label vim-patch --base ${GITHUB_REF#refs/heads/} --head ${VERSION_BRANCH} || true