diff options
| author | James McCoy <jamessan@jamessan.com> | 2022-01-17 13:32:51 -0500 |
|---|---|---|
| committer | James McCoy <jamessan@jamessan.com> | 2022-01-17 13:36:01 -0500 |
| commit | 66076e5e1ba5ec249e65fe97e36b8f543b359a10 (patch) | |
| tree | 1a0f72512a8013a4f45e4d4e05c8e79b6e4bd0dd /.github/workflows/api-docs.yml | |
| parent | 8f54b88a5ef7a151be98123fa717ce4b8722373c (diff) | |
| download | rneovim-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]
Diffstat (limited to '.github/workflows/api-docs.yml')
| -rw-r--r-- | .github/workflows/api-docs.yml | 2 |
1 files changed, 1 insertions, 1 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 |