gitscope
← marzneshin / v0.7.1 / .github/workflows/pr_validation.yml
https://dev.kronoz.win/r/marzneshin.git
.github/workflows/pr_validation.yml · YAML
Blame Raw
 1name: Validate Pull Request
 2
 3on:
 4  pull_request_target:
 5    types: [opened, edited, synchronize]
 6
 7jobs:
 8  conventional_commit:
 9    name: Conventional Commit Title
10    runs-on: ubuntu-latest
11    steps:
12      - uses: amannn/action-semantic-pull-request@v5
13        env:
14          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15        with:
16          scopes: ${{ inputs.scopes }}
17          requireScope: true
18          types: |
19            build
20            chore
21            ci
22            docs
23            feat
24            improve
25            fix
26            merge
27            perf
28            refactor
29            refact
30            revert
31            style
32            test
33            wip            
34          ignoreLabels: |
35            autorelease: pending