-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (36 loc) · 954 Bytes
/
ci-pr-format.yaml
File metadata and controls
39 lines (36 loc) · 954 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
35
36
37
38
39
name: 'ci: PR Format'
permissions:
contents: read
on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
concurrency:
group: ci-pr-format-${{ github.ref }}
cancel-in-progress: true
jobs:
format:
runs-on: ubuntu-latest
name: Formatting
timeout-minutes: 5
steps:
- name: '🏷️ Validate Labels: Semver'
uses: mheap/github-action-required-labels@v5
with:
mode: exactly
count: 1
labels: "semver:.*"
use_regex: true
- name: '🏷️ Validate Labels: Type'
uses: mheap/github-action-required-labels@v5
with:
mode: exactly
count: 1
labels: "type:.*"
use_regex: true
- name: '🏷️ Validate Labels: Blocked'
uses: mheap/github-action-required-labels@v5
with:
mode: exactly
count: 0
labels: "blocked"
use_regex: true