2020-10-20 17:13:50 +08:00
|
|
|
name: "Pull Request Labeler"
|
|
|
|
on:
|
2020-11-05 07:08:55 +08:00
|
|
|
- pull_request_target
|
2020-10-20 17:13:50 +08:00
|
|
|
|
2022-05-05 09:31:24 +08:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2020-10-20 17:13:50 +08:00
|
|
|
jobs:
|
|
|
|
triage:
|
2022-05-05 09:31:24 +08:00
|
|
|
permissions:
|
|
|
|
contents: read # for actions/labeler to determine modified files
|
|
|
|
pull-requests: write # for actions/labeler to add labels to PRs
|
2020-10-20 17:13:50 +08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-02 09:20:39 +08:00
|
|
|
- uses: actions/labeler@v4
|
2020-10-20 17:13:50 +08:00
|
|
|
with:
|
|
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|