xref: /plugin/pagecss/.github/workflows/validate-commits.yml (revision e166ca912a0fe74cfb786ac0171e650ce8c827b4)
1name: Validate Conventional Commits
2
3on:
4  pull_request:
5    types: [opened, edited, reopened, synchronize]
6
7jobs:
8  validate:
9    runs-on: ubuntu-latest
10    steps:
11      - uses: amannn/action-semantic-pull-request@v5
12        with:
13          types: |
14            feat
15            fix
16            chore
17            docs
18            style
19            refactor
20            perf
21            test
22            build
23            ci
24            revert
25        env:
26          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27