From 691bc984798d142dce77563f416a0b3a1137149d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 24 Aug 2025 11:34:31 +0000 Subject: [PATCH 1/2] Initial plan From 8a07ce3e819cf1d3835c91b519c094029c13a0b9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 24 Aug 2025 11:48:30 +0000 Subject: [PATCH 2/2] feat: skip workflows on copilot/*, dependabot/*, and pre-commit-ci-update-config branches - Added branches-ignore patterns to exclude bot-created branches from push events - Updated test.yml, machines.yml, pyright.yml, test-bohrium.yml, and release.yml - Preserved pull_request triggers to maintain CI for PRs from these branches - Mirror workflow intentionally preserved to ensure all commits are mirrored Co-authored-by: njzjz <9496702+njzjz@users.noreply.github.com> --- .github/workflows/machines.yml | 10 +++++++--- .github/workflows/pyright.yml | 6 +++++- .github/workflows/release.yml | 8 +++++++- .github/workflows/test-bohrium.yml | 6 +++++- .github/workflows/test.yml | 10 +++++++--- 5 files changed, 31 insertions(+), 9 deletions(-) diff --git a/.github/workflows/machines.yml b/.github/workflows/machines.yml index e5244e95..c1456ad0 100644 --- a/.github/workflows/machines.yml +++ b/.github/workflows/machines.yml @@ -1,8 +1,12 @@ name: Test on different machines -on: - - push - - pull_request +'on': + push: + branches-ignore: + - 'copilot/**' + - 'dependabot/**' + - 'pre-commit-ci-update-config' + pull_request: jobs: build: diff --git a/.github/workflows/pyright.yml b/.github/workflows/pyright.yml index c641d65e..bb09da39 100644 --- a/.github/workflows/pyright.yml +++ b/.github/workflows/pyright.yml @@ -1,5 +1,9 @@ -on: +'on': push: + branches-ignore: + - 'copilot/**' + - 'dependabot/**' + - 'pre-commit-ci-update-config' pull_request: name: Type checker jobs: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 261a4774..4389c264 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,10 @@ -on: [push, pull_request] +'on': + push: + branches-ignore: + - 'copilot/**' + - 'dependabot/**' + - 'pre-commit-ci-update-config' + pull_request: name: Release to pypi jobs: release-to-pypi: diff --git a/.github/workflows/test-bohrium.yml b/.github/workflows/test-bohrium.yml index 497c2c94..d13d6c5c 100644 --- a/.github/workflows/test-bohrium.yml +++ b/.github/workflows/test-bohrium.yml @@ -1,7 +1,11 @@ name: Test Bohrium -on: +'on': push: + branches-ignore: + - 'copilot/**' + - 'dependabot/**' + - 'pre-commit-ci-update-config' pull_request_target: types: - "labeled" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d81e06af..63a52639 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,8 +1,12 @@ name: Python package -on: - - push - - pull_request +'on': + push: + branches-ignore: + - 'copilot/**' + - 'dependabot/**' + - 'pre-commit-ci-update-config' + pull_request: jobs: test: