2022-07-04 19:16:01 +00:00
|
|
|
name: "Pull Request Labeler"
|
|
|
|
on:
|
|
|
|
- pull_request_target
|
|
|
|
|
|
|
|
jobs:
|
2022-07-04 23:36:38 +00:00
|
|
|
labeler:
|
2022-07-04 19:16:01 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
pull-requests: write
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/labeler@v4
|
2022-07-21 22:11:57 +00:00
|
|
|
# Checking the actor will prevent your Action run failing on non-Dependabot
|
|
|
|
# PRs but also ensures that it only does work for Dependabot PRs.
|
|
|
|
if: ${{ github.actor == 'github-actions[bot]' }}
|
2022-07-04 19:16:01 +00:00
|
|
|
with:
|
|
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|