aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/api-docs.yml
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2022-03-22 06:52:09 -0400
committerGitHub <noreply@github.com>2022-03-22 06:52:09 -0400
commit04d2476d3a47e6aabfe8290311a2d8c67fd5cc16 (patch)
tree3d5c29872d48eddd6878071114e56e89a4fcdab8 /.github/workflows/api-docs.yml
parent0c02e8a62b1570be15db01d45969d2759a7f37bf (diff)
parentb55e65980ab44c7e0e0999b79bec8c06240489d2 (diff)
downloadrneovim-04d2476d3a47e6aabfe8290311a2d8c67fd5cc16.tar.gz
rneovim-04d2476d3a47e6aabfe8290311a2d8c67fd5cc16.tar.bz2
rneovim-04d2476d3a47e6aabfe8290311a2d8c67fd5cc16.zip
Merge pull request #17813 from muniter/jl-ci-api-docs-permissions
fix(ci): provide necessary permissions for calling workflow
Diffstat (limited to '.github/workflows/api-docs.yml')
-rw-r--r--.github/workflows/api-docs.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml
index 36ac087c4a..7550af6fef 100644
--- a/.github/workflows/api-docs.yml
+++ b/.github/workflows/api-docs.yml
@@ -60,7 +60,7 @@ jobs:
exit 1
- name: Automatic PR
- if: ${{ steps.docs.outputs.UPDATED_DOCS != 0 }}
+ if: ${{ steps.docs.outputs.UPDATED_DOCS != 0 && !inputs.check_only }}
run: |
git add -u
git commit -m 'docs: regenerate [skip ci]'