aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2022-01-17 13:08:27 -0500
committerGitHub <noreply@github.com>2022-01-17 13:08:27 -0500
commit50eabe1c478048f810edcd1577e34c407bed4bfa (patch)
tree8e2f818f711c317ce2916149d5f1be1e547197ba
parent9055ec5792d29eb8ad5e5c20708ffcb980ad8609 (diff)
parent69b2dd175cdcd24db1d2517ccbb605f58bedb1a3 (diff)
downloadrneovim-50eabe1c478048f810edcd1577e34c407bed4bfa.tar.gz
rneovim-50eabe1c478048f810edcd1577e34c407bed4bfa.tar.bz2
rneovim-50eabe1c478048f810edcd1577e34c407bed4bfa.zip
Merge pull request #17106 from jamessan/always-run-commitlint
Always run commitlint check
-rw-r--r--.github/workflows/api-docs.yml2
-rw-r--r--.github/workflows/commitlint.yml6
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml
index ee72cf5f01..23b2c9ed72 100644
--- a/.github/workflows/api-docs.yml
+++ b/.github/workflows/api-docs.yml
@@ -48,6 +48,6 @@ jobs:
if: ${{ steps.docs.outputs.UPDATED_DOCS != 0 }}
run: |
git add -u
- git commit -m 'docs: regenerate'
+ 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
diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml
index 6c74ec99d3..5044b7dcab 100644
--- a/.github/workflows/commitlint.yml
+++ b/.github/workflows/commitlint.yml
@@ -1,13 +1,13 @@
name: "Commit Linter"
on:
- pull_request:
+ # Only pull_request and push honor [skip ci]. Since this workflow must pass
+ # to merge a PR, it can't be skipped, so use pull_request_target
+ pull_request_target:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
lint-commits:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
with: