-
-
Notifications
You must be signed in to change notification settings - Fork 10
51 lines (40 loc) · 1.28 KB
/
github.pr.yaml
File metadata and controls
51 lines (40 loc) · 1.28 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
name: GitHub - Pull Request
on:
pull_request_target: {}
jobs:
auto-assign:
name: Auto Assign
uses: tedilabs/github-actions/.github/workflows/github.pr.auto-assign.yaml@main
if: ${{ github.event_name == 'pull_request_target' }}
permissions:
contents: read
pull-requests: write
with:
config_file: .github/auto-assign.yaml
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
auto-label:
name: Auto Label
uses: tedilabs/github-actions/.github/workflows/github.pr.auto-label.yaml@main
if: ${{ github.event_name == 'pull_request_target' }}
permissions:
contents: read
issues: write
pull-requests: write
with:
labeler_config_file: .github/labeler.yaml
labeler_dot_included: true
labeler_sync_labels: true
pr_size_xs_label: 'size/XS'
pr_size_s_label: 'size/S'
pr_size_m_label: 'size/M'
pr_size_l_label: 'size/L'
pr_size_xl_label: 'size/XL'
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
welcome:
name: Welcome for First Pull Request
uses: tedilabs/github-actions/.github/workflows/github.issue.welcome.yaml@main
if: ${{ github.event_name == 'pull_request_target' && github.event.action == 'opened' }}
secrets:
token: ${{ secrets.GITHUB_TOKEN }}