mirror of
https://github.com/neovim/neovim.git
synced 2026-04-25 00:35:36 +00:00
ci(gha/vim-patches): Create PR against branch running the workflow
Avoids hard-coding branch names. [skip ci]
This commit is contained in:
2
.github/workflows/vim-patches.yml
vendored
2
.github/workflows/vim-patches.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user