aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2022-01-17 13:32:51 -0500
committerJames McCoy <jamessan@jamessan.com>2022-01-17 13:36:01 -0500
commit66076e5e1ba5ec249e65fe97e36b8f543b359a10 (patch)
tree1a0f72512a8013a4f45e4d4e05c8e79b6e4bd0dd
parent8f54b88a5ef7a151be98123fa717ce4b8722373c (diff)
downloadrneovim-66076e5e1ba5ec249e65fe97e36b8f543b359a10.tar.gz
rneovim-66076e5e1ba5ec249e65fe97e36b8f543b359a10.tar.bz2
rneovim-66076e5e1ba5ec249e65fe97e36b8f543b359a10.zip
ci: create automated PRs as draft PRs
GH workflows aren't allowed to trigger other GH workflows. Since commitlint is a required check now, we need something manual to happen for it to run on vim-patch/api-doc PRs. Creating these PRs as drafts and then marking them as "ready to review" when we want to merge them will provide the manual trigger to run commitlint. [skip ci]
-rw-r--r--.github/workflows/api-docs.yml2
-rw-r--r--.github/workflows/vim-patches.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml
index 23b2c9ed72..39d85e967d 100644
--- a/.github/workflows/api-docs.yml
+++ b/.github/workflows/api-docs.yml
@@ -50,4 +50,4 @@ jobs:
git add -u
git commit -m 'docs: regenerate [skip ci]'
git push --force https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY} ${DOC_BRANCH}
- gh pr create --fill --base ${GITHUB_REF#refs/heads/} --head ${DOC_BRANCH} || true
+ gh pr create --draft --fill --base ${GITHUB_REF#refs/heads/} --head ${DOC_BRANCH} || true
diff --git a/.github/workflows/vim-patches.yml b/.github/workflows/vim-patches.yml
index 5742b51158..453d293b0e 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 ${GITHUB_REF#refs/heads/} --head ${VERSION_BRANCH} || true
+ gh pr create --draft --fill --label vim-patch --base ${GITHUB_REF#refs/heads/} --head ${VERSION_BRANCH} || true