mirror of
https://github.com/CodelyTV/pr-size-labeler.git
synced 2025-02-21 12:31:01 -05:00
Co-authored-by: dom <dominik.meyer01@sap.com> Co-authored-by: Javier Ferrer <javier.mailserio@gmail.com>
20 lines
599 B
YAML
20 lines
599 B
YAML
name: labeler
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
labeler:
|
|
runs-on: ubuntu-latest
|
|
name: Label the PR size
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: ./
|
|
with:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
xs_max_size: '10'
|
|
s_max_size: '50'
|
|
m_max_size: '200'
|
|
l_max_size: '450'
|
|
fail_if_xl: 'true'
|
|
message_if_xl: 'This PR is sooooo big!! 😳'
|
|
github_api_url: 'api.github.com' # It would be ideal to test this out pointing to a GitHub Enterprise server, but there are no testing environments available
|