mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2024-12-27 23:13:33 +00:00
74fc25c36f
Bumps [actions/labeler](https://github.com/actions/labeler) from 4 to 5. - [Release notes](https://github.com/actions/labeler/releases) - [Commits](https://github.com/actions/labeler/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/labeler dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
41 lines
1,003 B
YAML
41 lines
1,003 B
YAML
name: Label Pull Requests
|
|
|
|
on:
|
|
- pull_request_target
|
|
|
|
jobs:
|
|
label-pr:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Add Labels for PR
|
|
uses: actions/labeler@v5
|
|
with:
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
configuration-path: .github/labeler.yaml
|
|
sync-labels: true
|
|
|
|
- name: Add PR Size Labels for PR
|
|
uses: codelytv/pr-size-labeler@v1
|
|
with:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
xs_label: 'size/XS'
|
|
xs_max_size: '20'
|
|
s_label: 'size/S'
|
|
s_max_size: '100'
|
|
m_label: 'size/M'
|
|
m_max_size: '500'
|
|
l_label: 'size/L'
|
|
l_max_size: '1000'
|
|
xl_label: 'size/XL'
|
|
fail_if_xl: 'false'
|
|
message_if_xl: >
|
|
'This PR has too many changes.
|
|
Please make sure you are NOT addressing multiple issues with one PR.'
|
|
files_to_ignore: |
|
|
"examples/*"
|
|
"*.otf"
|
|
"*.pdf"
|
|
"*.png"
|
|
"*.sty"
|
|
"*.ttf"
|