Skip to content

Commit

Permalink
chore(action): use pull_request_target
Browse files Browse the repository at this point in the history
  • Loading branch information
arlac77 committed Nov 11, 2023
1 parent 80c0c3c commit a0fedda
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/pr_labeler.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
name: Pull Request Labeler
'on':
pull_request:
types:
- opened
name: "Pull Request Labeler"
on:
pull_request_target

jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
- uses: actions/labeler@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/pr_labeler.yml
sync-labels: false

0 comments on commit a0fedda

Please sign in to comment.