2020-08-08 23:44:06 +08:00
|
|
|
name: "Pull Request Labeler"
|
|
|
|
on:
|
2020-08-09 23:39:12 +08:00
|
|
|
- pull_request_target
|
2020-08-08 23:44:06 +08:00
|
|
|
|
2023-07-02 15:06:04 +08:00
|
|
|
permissions:
|
|
|
|
actions: read
|
|
|
|
checks: read
|
|
|
|
contents: read
|
|
|
|
deployments: read
|
|
|
|
issues: read
|
|
|
|
discussions: read
|
|
|
|
packages: read
|
|
|
|
pages: read
|
|
|
|
pull-requests: write
|
|
|
|
repository-projects: read
|
|
|
|
security-events: read
|
|
|
|
statuses: read
|
|
|
|
|
2020-08-08 23:44:06 +08:00
|
|
|
jobs:
|
|
|
|
triage:
|
2023-01-25 16:20:36 +08:00
|
|
|
if: github.repository == 'anuraghazra/github-readme-stats'
|
2020-08-08 23:44:06 +08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-07-23 02:28:46 +08:00
|
|
|
- uses: actions/labeler@ac9175f8a1f3625fd0d4fb234536d26811351594 # v4.3.0
|
2020-08-08 23:44:06 +08:00
|
|
|
with:
|
|
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|