👷 add labeler action
This commit is contained in:
parent
9e178d6207
commit
c0e68645aa
28
.github/labeler.yml
vendored
28
.github/labeler.yml
vendored
@ -1,8 +1,22 @@
|
|||||||
documentation:
|
version: 1
|
||||||
- 'README.md'
|
|
||||||
- 'docs/*'
|
|
||||||
- 'docs/**/*'
|
|
||||||
|
|
||||||
ci:
|
labels:
|
||||||
- '.github/workflows/*'
|
- label: "documentation"
|
||||||
- '.github/external_ci/*'
|
files: "README.md"
|
||||||
|
|
||||||
|
- label: "documentation"
|
||||||
|
files: "docs/.*"
|
||||||
|
|
||||||
|
- label: "ci"
|
||||||
|
files: "github/workflows/.*"
|
||||||
|
|
||||||
|
- label: "ci"
|
||||||
|
files: "github/external_ci/.*"
|
||||||
|
|
||||||
|
- label: "S"
|
||||||
|
size-below: 10
|
||||||
|
- label: "M"
|
||||||
|
size-above: 9
|
||||||
|
size-below: 100
|
||||||
|
- label: "L"
|
||||||
|
size-above: 100
|
||||||
|
|||||||
16
.github/workflows/labeler.yml
vendored
16
.github/workflows/labeler.yml
vendored
@ -1,14 +1,14 @@
|
|||||||
name: "Pull Request Labeler"
|
name: "Pull Request Labeler"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
- pull_request_target
|
- pull_request
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
triage:
|
build:
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
pull-requests: write
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/labeler@v4
|
- uses: srvaroa/labeler@master
|
||||||
with:
|
env:
|
||||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user