Skip to content

Commit fb7e99c

Browse files
committed
.github: Change trigger for OnPRChanged to pull_request_target
1 parent 27f9da0 commit fb7e99c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/OnPRChanged.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ name: PRChanged
1616
# the PR number. It's the only reliable way it can get it.
1717
run-name: "PR ${{ github.event.number }} Changed by ${{ github.actor }}"
1818
on:
19-
pull_request:
19+
pull_request_target:
2020
types: [opened, reopened, synchronize]
2121

2222
jobs:
@@ -25,6 +25,6 @@ jobs:
2525
concurrency:
2626
group: check-${{ github.base_ref }}-${{ github.ref_name }}
2727
cancel-in-progress: true
28-
uses: asterisk/asterisk-ci-actions/.github/workflows/AsteriskPRChanged.yml@main
29-
secrets:
30-
TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
uses: asterisk/asterisk-ci-actions/.github/workflows/AsteriskPRChanged.yml@main-pr-target
29+
with:
30+
actions_ref: '{ "owner": "asterisk", "repo": "asterisk-ci-actions", "branch": "main-pr-target" }'

0 commit comments

Comments
 (0)