Skip to content

Commit

Permalink
add _target for forked repo support
Browse files Browse the repository at this point in the history
  • Loading branch information
MyDrift-user committed Sep 17, 2024
1 parent 5e83ca5 commit 63b7da4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-labels.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Manage labels based on PR body

on:
pull_request:
pull_request_target:
types: [opened, edited, reopened, synchronize]

jobs:
Expand Down Expand Up @@ -53,4 +53,4 @@ jobs:
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/labels/$label
done
done

0 comments on commit 63b7da4

Please sign in to comment.