-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (31 loc) · 1.03 KB
/
pr_enrich.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
name: Enrich Pull Request
on: pull_request
jobs:
add_labels:
name: Add labels
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Add size label
uses: pagopa/github-actions-template/check-pr-size@241d9bfcaa2a623cb78a2d993716d761af158c0c # v1.6.6
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
ignored_files: 'package-lock.json, docs/ apps/infrastructure/src/.terraform.lock.hcl'
min_size: 200
max_size: 600
- name: Add labels
uses: actions/labeler@ac9175f8a1f3625fd0d4fb234536d26811351594 # v4.3.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/labels.yaml
sync-labels: true
add_assignee:
name: Add assignee
runs-on: ubuntu-latest
steps:
- name: Assign PR
uses: kentaro-m/auto-assign-action@3e986bf9c274729de0d85191da42484917883328 # v1.2.5
with:
configuration-path: '.github/auto_assign.yaml'