From 667113c2077a268654af83debbf5baeb438565f6 Mon Sep 17 00:00:00 2001 From: JPeer264 Date: Fri, 30 Jan 2026 10:44:57 +0100 Subject: [PATCH] ci: Ignore ticket creation for base branches other than develop/master --- .github/workflows/create-issue-for-unreferenced-prs.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-issue-for-unreferenced-prs.yml b/.github/workflows/create-issue-for-unreferenced-prs.yml index a47df32738d7..0a833715d854 100644 --- a/.github/workflows/create-issue-for-unreferenced-prs.yml +++ b/.github/workflows/create-issue-for-unreferenced-prs.yml @@ -20,7 +20,8 @@ jobs: check_for_issue_reference: runs-on: ubuntu-latest if: | - !contains(github.event.pull_request.labels.*.name, 'Dev: Gitflow') + (github.event.pull_request.base.ref == 'develop' || github.event.pull_request.base.ref == 'master') + && !contains(github.event.pull_request.labels.*.name, 'Dev: Gitflow') && !startsWith(github.event.pull_request.head.ref, 'external-contributor/') && !startsWith(github.event.pull_request.head.ref, 'prepare-release/') && !startsWith(github.event.pull_request.head.ref, 'dependabot/')