fix: update pr-labeler job to checkout repo itself (#4127)

This commit is contained in:
Nico Domino 2024-06-19 22:33:25 +02:00 committed by GitHub
parent fbdaae3f06
commit bb9a60fd26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,19 +1,19 @@
# https://github.com/actions/labeler#create-workflow
name: Label Pull Requests
on:
pull_request:
pull_request_target:
jobs:
prs:
name: Triage
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: ".github/pr-labeler.yml"
- uses: actions/checkout@v4
with:
repository: "gitbutlerapp/gitbutler"
- uses: actions/labeler@v5
with:
configuration-path: '.github/pr-labeler.yml'