From fc11beac784f579ffc791cb251fd609c8909142b Mon Sep 17 00:00:00 2001 From: Jirka Borovec <6035284+Borda@users.noreply.github.com> Date: Tue, 6 Jan 2026 15:39:28 +0100 Subject: [PATCH] Add push triggers for `main` and `develop` branches in workflow files (#2033) * Add push triggers for `main` and `develop` branches in workflow files * Add conditional concurrency cancellation for PR vs push events (#2035) --------- Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> --- .github/workflows/test-doc.yml | 6 ++++++ .github/workflows/uv-test.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/test-doc.yml b/.github/workflows/test-doc.yml index d3e2fe36..4edbf7f5 100644 --- a/.github/workflows/test-doc.yml +++ b/.github/workflows/test-doc.yml @@ -1,9 +1,15 @@ name: ๐Ÿงช Docs Test WorkFlow ๐Ÿ“š on: + push: + branches: [main, develop] pull_request: branches: [main, develop] +concurrency: + group: docs-test-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + # Restrict permissions by default permissions: contents: read # Required for checkout diff --git a/.github/workflows/uv-test.yml b/.github/workflows/uv-test.yml index d5f22abc..858a507a 100644 --- a/.github/workflows/uv-test.yml +++ b/.github/workflows/uv-test.yml @@ -1,9 +1,15 @@ name: ๐Ÿ”ง Pytest/Test Workflow on: + push: + branches: [main, develop] pull_request: branches: [main, develop] +concurrency: + group: pytest-test-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: run-tests: name: Import Test and Pytest Run