19 lines
510 B
YAML
19 lines
510 B
YAML
name: "Pull Request Labeler"
|
|
on:
|
|
- pull_request_target
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
labeler:
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/labeler@v4
|
|
with:
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
# https://github.com/actions/labeler/issues/442#issuecomment-1297359481
|
|
sync-labels: ""
|