mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 19:48:08 +00:00
chore(ci): Ensure PR titles are in semantic format (#7346)
This commit is contained in:
23
.github/workflows/lint_pr.yml
vendored
Normal file
23
.github/workflows/lint_pr.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# ref: https://github.com/amannn/action-semantic-pull-request
|
||||||
|
# ensure PR title is in semantic format
|
||||||
|
|
||||||
|
name: "Lint PR"
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- edited
|
||||||
|
- synchronize
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
pull-requests: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
main:
|
||||||
|
name: Validate PR title
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: amannn/action-semantic-pull-request@v5
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Reference in New Issue
Block a user