2024-06-04 12:58:43 +02:00
|
|
|
name: PR labeler
|
|
|
|
|
2024-06-04 14:19:54 +02:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2024-06-04 12:58:43 +02:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
types: [opened, synchronize]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
size-labeler:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: codelytv/pr-size-labeler@v1
|
|
|
|
with:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
xs_max_size: "10"
|
|
|
|
s_max_size: "100"
|
|
|
|
m_max_size: "500"
|
|
|
|
l_max_size: "1000"
|
|
|
|
fail_if_xl: "false"
|
|
|
|
files_to_ignore: "yarn.lock"
|
2024-06-04 13:03:30 +02:00
|
|
|
|
|
|
|
team-labeler:
|
|
|
|
runs-on: ubuntu-latest
|
2024-06-04 14:22:30 +02:00
|
|
|
if: ${{ github.event.action == 'opened' }}
|
2024-06-04 13:03:30 +02:00
|
|
|
steps:
|
|
|
|
- uses: rodrigoarias/auto-label-per-user@v1.0.0
|
|
|
|
with:
|
|
|
|
git-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
user-team-map: |
|
|
|
|
{
|
2024-06-04 14:16:29 +02:00
|
|
|
"adrinr": "firestorm",
|
|
|
|
"samwho": "firestorm",
|
2024-06-07 08:34:33 +02:00
|
|
|
"PClmnt": "firestorm",
|
2024-06-04 13:03:30 +02:00
|
|
|
"mike12345567": "firestorm"
|
|
|
|
}
|