Skip to content

Commit 667113c

Browse files
committed
ci: Ignore ticket creation for base branches other than develop/master
1 parent 8b2aff0 commit 667113c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/create-issue-for-unreferenced-prs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ jobs:
2020
check_for_issue_reference:
2121
runs-on: ubuntu-latest
2222
if: |
23-
!contains(github.event.pull_request.labels.*.name, 'Dev: Gitflow')
23+
(github.event.pull_request.base.ref == 'develop' || github.event.pull_request.base.ref == 'master')
24+
&& !contains(github.event.pull_request.labels.*.name, 'Dev: Gitflow')
2425
&& !startsWith(github.event.pull_request.head.ref, 'external-contributor/')
2526
&& !startsWith(github.event.pull_request.head.ref, 'prepare-release/')
2627
&& !startsWith(github.event.pull_request.head.ref, 'dependabot/')

0 commit comments

Comments
 (0)