mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 13:15:21 +00:00
add _target for forked repo support
This commit is contained in:
parent
5e83ca55e7
commit
63b7da40a4
4
.github/workflows/pr-labels.yaml
vendored
4
.github/workflows/pr-labels.yaml
vendored
|
@ -1,7 +1,7 @@
|
|||
name: Manage labels based on PR body
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
types: [opened, edited, reopened, synchronize]
|
||||
|
||||
jobs:
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user