-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (44 loc) · 1.18 KB
/
pr.yml
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
40
41
42
43
44
45
46
47
48
name: pr
on:
pull_request:
# pull_request_target: # for forked PR
types:
- opened
- edited
- reopened
- synchronize
jobs:
title-linter:
name: lint title
permissions:
pull-requests: read
runs-on: ubuntu-latest
steps:
- name: semantic-pull-request
uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
labeler:
name: label
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: labeler
uses: actions/labeler@v5
size-labeler:
name: label size
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: size-label
uses: pascalgn/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
IGNORED: |
package-lock.json
*.lock
docs/**