mirror of
https://github.com/neovim/neovim.git
synced 2025-11-07 03:04:22 +00:00
Merge pull request #17106 from jamessan/always-run-commitlint
Always run commitlint check
This commit is contained in:
2
.github/workflows/api-docs.yml
vendored
2
.github/workflows/api-docs.yml
vendored
@@ -48,6 +48,6 @@ jobs:
|
|||||||
if: ${{ steps.docs.outputs.UPDATED_DOCS != 0 }}
|
if: ${{ steps.docs.outputs.UPDATED_DOCS != 0 }}
|
||||||
run: |
|
run: |
|
||||||
git add -u
|
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}
|
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 --fill --base ${GITHUB_REF#refs/heads/} --head ${DOC_BRANCH} || true
|
||||||
|
|||||||
6
.github/workflows/commitlint.yml
vendored
6
.github/workflows/commitlint.yml
vendored
@@ -1,13 +1,13 @@
|
|||||||
name: "Commit Linter"
|
name: "Commit Linter"
|
||||||
on:
|
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]
|
types: [opened, synchronize, reopened, ready_for_review]
|
||||||
jobs:
|
jobs:
|
||||||
lint-commits:
|
lint-commits:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event.pull_request.draft == false
|
if: github.event.pull_request.draft == false
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user