Skip to content

Commit b2189fd

Browse files
Add check at template levelto prevent forks from triggering this workflow
1 parent 615df1e commit b2189fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/make-release-artifacts.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ on:
1212

1313
jobs:
1414
run:
15-
if: startsWith( github.head_ref, 'release/')
15+
if: |
16+
startsWith( github.head_ref, 'release/')
17+
&& github.event.pull_request.head.repo.full_name == github.repository
1618
uses: rokucommunity/workflows/.github/workflows/make-release-artifacts.yml@develop
1719
with:
1820
branch: ${{ github.event.pull_request.head.ref }}

0 commit comments

Comments
 (0)