mirror of
https://github.com/potats0/lua-resty-coraza.git
synced 2025-06-28 17:41:00 +03:00
feat: add Lint PR
This commit is contained in:
parent
a2667a2df5
commit
e9c0e19c83
30
.github/semantic-pull-request.yml
vendored
Normal file
30
.github/semantic-pull-request.yml
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
name: "Lint PR"
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- edited
|
||||||
|
- synchronize
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
main:
|
||||||
|
name: Validate PR title
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: amannn/action-semantic-pull-request@v4
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
# Configure which types are allowed.
|
||||||
|
# Default: https://github.com/commitizen/conventional-commit-types
|
||||||
|
types: |
|
||||||
|
bugfix # bug fixes
|
||||||
|
change # backward incompatible changes
|
||||||
|
doc # documentation changes including code comments
|
||||||
|
editor # code editor related configurations
|
||||||
|
feature # implementing a new feature
|
||||||
|
optimize # performance optimizations
|
||||||
|
refactor # code refactoring and other code rearrangement
|
||||||
|
style # coding style changes
|
||||||
|
tests # test suite changes
|
Loading…
x
Reference in New Issue
Block a user