diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 134728bec..cc78c7649 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -2,7 +2,11 @@ name: Python Tests on: push: - branches: ["**"] + # Exclude beta and main: those branches re-trigger this workflow via + # workflow_call from beta-release.yml / release.yml. Without the exclusion, + # a push to beta that touches Server/** fires this workflow twice for the + # same SHA, and GitHub auto-cancels the duplicate. + branches-ignore: [beta, main] paths: - Server/** - .github/workflows/python-tests.yml diff --git a/.github/workflows/unity-tests.yml b/.github/workflows/unity-tests.yml index 72e3ddd54..05b337280 100644 --- a/.github/workflows/unity-tests.yml +++ b/.github/workflows/unity-tests.yml @@ -10,7 +10,13 @@ on: required: false default: "" push: - branches: ["**"] + # Exclude beta and main: those branches re-trigger this workflow via + # workflow_call from beta-release.yml / release.yml. Without the exclusion, + # a push to beta that touches MCPForUnity/** fires this workflow twice + # for the same SHA, and GitHub's auto-generated concurrency group + # (`unity-tests-refs/heads/beta`) cancels the older run with the noisy + # "higher priority waiting request" annotation. + branches-ignore: [beta, main] paths: - TestProjects/UnityMCPTests/** - MCPForUnity/Editor/**