🩹 Fix actions for get size and label sponsors

This commit is contained in:
Alicia Sykes 2021-10-01 20:57:51 +01:00
parent 5ebbe25c6e
commit bbf3cea284
2 changed files with 11 additions and 13 deletions

View File

@ -17,14 +17,14 @@ jobs:
# Check number of lines of code added
- name: Label based on Lines of Code
uses: codelytv/pr-size-labeler@v1
with:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
xs_max_size: '10'
s_max_size: '100'
m_max_size: '500'
l_max_size: '1000'
fail_if_xl: 'false'
message_if_xl: >
It looks like this PR is very large (over 1000 lines).
Try to avoid addressing multiple issues in a single PR, and
in the future consider breaking large tasks down into smaller steps.
with:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
xs_max_size: '10'
s_max_size: '100'
m_max_size: '500'
l_max_size: '1000'
fail_if_xl: 'false'
message_if_xl: >
It looks like this PR is very large (over 1000 lines).
Try to avoid addressing multiple issues in a single PR, and
in the future consider breaking large tasks down into smaller steps.

View File

@ -2,8 +2,6 @@
# In order to allow their request can be prioritized
name: 🎯 Label sponsors
on:
pull_request:
types: [opened]
issues:
types: [opened]
jobs: