2022-07-04 19:16:01 +00:00
|
|
|
name: "Pull Request Labeler"
|
|
|
|
on:
|
2022-10-31 13:58:47 +00:00
|
|
|
- pull_request
|
2022-09-08 17:01:47 +00:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
|
|
cancel-in-progress: true
|
2022-07-04 19:16:01 +00:00
|
|
|
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 }}"
|