gitscope
← marzneshin / v0.5.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  pull_request:
 7
 8jobs:
 9  conventional_commit:
10    name: Conventional Commit Title
11    runs-on: ubuntu-latest
12    steps:
13      - uses: amannn/action-semantic-pull-request@v5
14        env:
15          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16        with:
17          scopes: ${{ inputs.scopes }}
18          requireScope: true
19          types: |
20            build
21            chore
22            ci
23            docs
24            feat
25            improve
26            fix
27            merge
28            perf
29            refactor
30            refact
31            revert
32            style
33            test
34            wip            
35          ignoreLabels: |
36            autorelease: pending