Skip to content

Commit 9d52aee

Browse files
author
Tedilabs Bot
committed
chore: update .github/workflows/github.pr.yaml via Terraform
1 parent d4d9d4b commit 9d52aee

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/github.pr.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: GitHub - Pull Request
2+
3+
4+
on:
5+
pull_request_target: {}
6+
7+
8+
jobs:
9+
auto-assign:
10+
name: Auto Assign
11+
uses: tedilabs/github-actions/.github/workflows/github.pr.auto-assign.yaml@main
12+
if: ${{ github.event_name == 'pull_request_target' }}
13+
14+
permissions:
15+
contents: read
16+
pull-requests: write
17+
18+
with:
19+
config_file: .github/auto-assign.yaml
20+
secrets:
21+
token: ${{ secrets.GITHUB_TOKEN }}
22+
23+
auto-label:
24+
name: Auto Label
25+
uses: tedilabs/github-actions/.github/workflows/github.pr.auto-label.yaml@main
26+
if: ${{ github.event_name == 'pull_request_target' }}
27+
28+
permissions:
29+
contents: read
30+
issues: write
31+
pull-requests: write
32+
33+
with:
34+
labeler_config_file: .github/labeler.yaml
35+
labeler_dot_included: true
36+
labeler_sync_labels: true
37+
pr_size_xs_label: 'size/XS'
38+
pr_size_s_label: 'size/S'
39+
pr_size_m_label: 'size/M'
40+
pr_size_l_label: 'size/L'
41+
pr_size_xl_label: 'size/XL'
42+
secrets:
43+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)