Skip to content

Commit

Permalink
ci(gha/vim-patches): Create PR against branch running the workflow
Browse files Browse the repository at this point in the history
Avoids hard-coding branch names.

[skip ci]
  • Loading branch information
jamessan committed Apr 27, 2021
1 parent 2601296 commit 0ab1f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/vim-patches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0ab1f9f

Please sign in to comment.