Skip to content

Commit e5cd3bf

Browse files
committed
ci: match release pull requests by the Release Please branch prefix
1 parent 0eeb1ef commit e5cd3bf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/verify.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ jobs:
871871
name: >-
872872
${{ (github.event_name == 'pull_request'
873873
&& github.event.pull_request.head.repo.full_name == github.repository
874-
&& startsWith(github.event.pull_request.head.ref, 'release-please--'))
874+
&& startsWith(github.event.pull_request.head.ref, 'release-please--branches--'))
875875
&& 'Release pull request suites' || 'Verify' }}
876876
if: always()
877877
needs:

‎tests/unit/scripts/release_gate/_helpers/test_gate.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
RELEASE_AWARE_NAME: str = (
2020
"${{ (github.event_name == 'pull_request'"
2121
" && github.event.pull_request.head.repo.full_name == github.repository"
22-
" && startsWith(github.event.pull_request.head.ref, 'release-please--'))"
22+
" && startsWith(github.event.pull_request.head.ref, 'release-please--branches--'))"
2323
" && 'Release pull request suites' || 'Verify' }}"
2424
)
2525

0 commit comments

Comments
 (0)