-
Notifications
You must be signed in to change notification settings - Fork 4
56 lines (50 loc) · 1.24 KB
/
Copy pathpr-handler.yml
File metadata and controls
56 lines (50 loc) · 1.24 KB
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
49
50
51
52
53
54
55
56
name: Pull Request Handler
on:
pull_request_target:
types: [opened, edited, synchronize, reopened, ready_for_review]
permissions:
contents: read
pull-requests: write
issues: write
checks: write
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
configuration-path: .github/labeler.yml
sync-labels: true
assign:
if: github.event.action == 'opened'
runs-on: ubuntu-latest
steps:
- uses: peter-evans/assign-issue@v3
with:
issue-number: ${{ github.event.pull_request.number }}
assignees: ${{ github.actor }}
reviewers:
if: github.event.action == 'opened'
runs-on: ubuntu-latest
steps:
- uses: peter-evans/request-reviewers@v3
with:
pull-request-number: ${{ github.event.pull_request.number }}
reviewers: ${{ github.repository_owner }}
semantic:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
feat
fix
chore
docs
refactor
test
ci
build
perf