mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-03 14:24:24 +01:00
Shirt size labeling for PRs (#2467)
Co-authored-by: Reinier van der Leer <github@pwuts.nl>
This commit is contained in:
19
.github/workflows/pr-label.yml
vendored
19
.github/workflows/pr-label.yml
vendored
@@ -26,3 +26,22 @@ jobs:
|
||||
repoToken: "${{ secrets.GITHUB_TOKEN }}"
|
||||
commentOnDirty: "This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request."
|
||||
commentOnClean: "Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly."
|
||||
|
||||
size:
|
||||
if: ${{ github.event_name == 'pull_request_target' }}
|
||||
permissions:
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: codelytv/pr-size-labeler@v1.7.0
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
s_label: "size/s"
|
||||
s_max_size: "10"
|
||||
m_label: "size/m"
|
||||
m_max_size: "50"
|
||||
l_label: "size/l"
|
||||
l_max_size: "200"
|
||||
xl_label: "size/xl"
|
||||
fail_if_xl: "false"
|
||||
github_api_url: "api.github.com"
|
||||
|
||||
Reference in New Issue
Block a user