From d2cad3cb4739d9ce6d30b4a129edb073ac1861b0 Mon Sep 17 00:00:00 2001 From: Philip Salzmann Date: Tue, 17 Dec 2024 14:59:23 +0100 Subject: [PATCH] CTS issue workflow: Only run on main branch To avoid creating CTS issues for cherry-picks into older spec revisions, we limit the workflow to run on the main branch. --- .github/workflows/open_cts_issue.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/open_cts_issue.yml b/.github/workflows/open_cts_issue.yml index 44a9f76a..2281c9f0 100644 --- a/.github/workflows/open_cts_issue.yml +++ b/.github/workflows/open_cts_issue.yml @@ -10,6 +10,9 @@ on: types: opened paths: - 'adoc/**' + # We don't want to create issues for cherry-picks into older spec revisions + branches: + - main jobs: create-issue: runs-on: ubuntu-latest