Skip to content

Commit aeb9cf1

Browse files
committed
Harden release tag workflow
1 parent 900cab6 commit aeb9cf1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release-tag.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
tag-release:
1515
if: >-
1616
github.event.pull_request.merged == true &&
17+
github.event.pull_request.head.repo.full_name == github.repository &&
1718
startsWith(github.event.pull_request.head.ref, 'release/v')
1819
runs-on: ubuntu-latest
1920
steps:

0 commit comments

Comments
 (0)