-
Notifications
You must be signed in to change notification settings - Fork 69
34 lines (31 loc) · 926 Bytes
/
pr_title_checker.yml
File metadata and controls
34 lines (31 loc) · 926 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Ensure PR title has a valid prefix
on:
pull_request_target:
types:
- opened
- edited
- synchronize
- labeled
- unlabeled
branches:
- main
permissions:
read-all
jobs:
check:
name: Ensure PR title has a valid prefix
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@f808768d1510423e83855289c910610ca9b43176 # v2.17.0
with:
disable-sudo: true
egress-policy: audit
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Check PR title
uses: thehanimo/pr-title-checker@7fbfe05602bdd86f926d3fb3bccb6f3aed43bc70 # v1.4.3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pass_on_octokit_error: false
local_configuration_path: .github/workflows/pr-title-checker-config.json