-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (32 loc) · 1.01 KB
/
enrich_pr.yaml
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: Enrich PR
on:
pull_request:
jobs:
add_assignee:
name: Add assignee
runs-on: ubuntu-latest
steps:
- name: Assign PR
uses: kentaro-m/auto-assign-action@f4648c0a9fdb753479e9e75fc251f507ce17bb7e # v2.0.0
with:
configuration-path: '.github/auto-assign.yaml'
add_labels:
name: Add labels
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Label PR
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: '.github/labeler.yaml'
sync-labels: true
- name: Add size label
uses: pagopa/github-actions-template/check-pr-size@922ed4e43b0e45a5e47eb0296d550996d8c87c64 # v1.19.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
ignored_files: 'yarn.lock, infra/**/.terraform.lock.hcl .yarn/releases/*'
min_size: 200
max_size: 800