Debian Codegraph @

crt/s2n/.github/workflows/ci_pr_title.yml

raw symbols SCIP
1 ---
2 name: PR Title Validation
3 on:
4 pull_request:
5 branches: [main]
6 types: [opened, synchronize, reopened, edited]
7 merge_group:
8 types: [checks_requested]
9 branches: [main]
10 permissions:
11 contents: read
12
13 jobs:
14 validate-pr-title:
15 runs-on: ubuntu-latest
16 steps:
17 - uses: actions/checkout@v7
18 - name: PR Conventional Commit Validation
19 if: github.event_name == 'pull_request'
20 uses: ytanikin/[email protected]
21 with:
22 task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert","build","style"]'
23 add_label: 'false'
24 - name: Failure case
25 if: failure() && github.event_name == 'pull_request'
26 run: |
27 echo "Make sure the PR title/commit follows https://www.conventionalcommits.org/"
28 exit 1