perf(docs): Disable GH checks on docs
that don't apply to docs
#18934
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check PR | |
on: | |
workflow_dispatch: | |
pull_request_target: | |
types: [opened, edited, synchronize] | |
jobs: | |
cc: | |
name: Validate PR title | |
runs-on: ubuntu-latest | |
steps: | |
# https://github.com/amannn/action-semantic-pull-request/releases | |
- uses: amannn/action-semantic-pull-request@v5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.PR_TITLE_GITHUB_TOKEN }} | |
with: | |
# Allowed types: See CONTRIBUTING.md | |
types: | | |
chore | |
docs | |
feat | |
fix | |
perf | |
refactor | |
revert | |
style | |
security | |
test | |
scopes: | | |
ui | |
weave | |
weave_ts | |
weave_query | |
app | |
dev | |
wip: false | |
requireScope: true | |
validateSingleCommit: false | |
validateSingleCommitMatchesPrTitle: false |