Skip to content

Commit

Permalink
chore(weave): Enforce conventional commits (#2646)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtruong authored Oct 14, 2024
1 parent a21e6dd commit e72d99e
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Validate PR
name: Check PR

on:
workflow_dispatch:
pull_request_target:
types: [opened, edited, synchronize]

Expand All @@ -10,26 +11,27 @@ jobs:
runs-on: ubuntu-latest
steps:
# https://github.com/amannn/action-semantic-pull-request/releases
- uses: amannn/action-semantic-pull-request@v4.2.0
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.PR_TITLE_GITHUB_TOKEN }}
with:
# Allowed types: https://www.notion.so/wandbai/Pull-Requests-17966b997841407b95b7c36414ae0634
# Allowed types: See CONTRIBUTING.md
types: |
chore
docs
feat
fix
docs
style
refactor
perf
test
analytics
build
ci
chore
refactor
revert
style
security
release
test
scopes: |
ui
weave
weave_query
wip: false
requireScope: true
validateSingleCommit: false
validateSingleCommitMatchesPrTitle: false

0 comments on commit e72d99e

Please sign in to comment.