Skip to content

Commit e6b8442

Browse files
authored
Update add-netlify-links.yml
Update to use pull_request_target. Editing directly in master, as apparently it won't work otherwise...
1 parent b5ffc6e commit e6b8442

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/add-netlify-links.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Add Netlify Links To Changed Pages
22
on:
33
workflow_call:
4-
pull_request:
4+
pull_request_target:
55
jobs:
66
get-pr-changes:
77
name: Get Changed Files
@@ -62,4 +62,4 @@ jobs:
6262
with:
6363
regex: "<!-- start insert-links -->.*?<!-- end insert-links -->"
6464
content: ${{ needs.get-pr-changes.outputs.staging_links }}
65-
token: ${{ secrets.GITHUB_TOKEN }}
65+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)