-
Notifications
You must be signed in to change notification settings - Fork 28
42 lines (38 loc) · 1.16 KB
/
pr-check.yml
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
name: "Pull Request Check"
on:
pull_request_target:
types: ["opened", "edited", "reopened", "ready_for_review", "synchronize"]
jobs:
pull-request-description:
uses: "aeon-php/actions/.github/workflows/automation-pr-description-validate.yml@main"
secrets:
automation_github_token: "${{ secrets.GITHUB_TOKEN }}"
pull-request-size:
name: "Label PR Size"
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: codelytv/pr-size-labeler@v1
with:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
xs_label: 'size: XS'
xs_max_size: 50
s_label: 'size: S'
s_max_size: 250
m_label: 'size: M'
m_max_size: 500
l_label: 'size: L'
l_max_size: 1000
xl_label: 'size: XL'
fail_if_xl: false
files_to_ignore: 'composer.lock timezones.json nested_timezones.json'
message_if_xl: ''
pull-request-type:
name: "Label PR Type"
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true