github-readme-stats/.github/workflows/label-pr.yml

27 lines
561 B
YAML
Raw Normal View History

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
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:
if: github.repository == 'anuraghazra/github-readme-stats'
2020-08-08 23:44:06 +08:00
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@ac9175f8a1f3625fd0d4fb234536d26811351594 # v4.3.0
2020-08-08 23:44:06 +08:00
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"