Skip to content

Commit bdd228b

Browse files
authored
[codex] Harden release tag workflow (#3399)
## Summary - Require release-tag PRs to come from the same repository before creating tags. - Preserve the existing merged-PR and `release/v*` branch gates. ## Validation - Parsed `.github/workflows/release-tag.yml` with PyYAML.
1 parent 900cab6 commit bdd228b

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)