2020-03-02 09:10:37 +01:00
name : labeler
on : [ pull_request]
jobs :
labeler :
runs-on : ubuntu-latest
name : Label the PR size
steps :
2020-04-27 15:41:04 +02:00
- uses : actions/checkout@v1
- uses : ./
2020-03-02 09:10:37 +01:00
with :
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2020-03-03 22:15:19 +01:00
xs_max_size : '10'
s_max_size : '50'
m_max_size : '200'
l_max_size : '450'
2020-03-02 09:10:37 +01:00
fail_if_xl : 'true'
2020-04-27 15:36:43 +02:00
message_if_xl : 'This PR is sooooo big!! 😳'
2021-03-03 12:54:34 +01:00
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