From efc997dfbd20d17e9aa953fb45eb1b00ed08b9ff Mon Sep 17 00:00:00 2001 From: Jade Date: Tue, 24 Jun 2025 11:50:13 +0800 Subject: [PATCH] [ci] Run on push or PR (#1974) ## Description CI will now run whenever a branch is pushed or a PR is opened. Fixes 2027 behaviour and allows running CI on forks ## Meta Merge checklist: - [x] Pull Request title is [short, imperative summary](https://cbea.ms/git-commit/) of proposed changes - [x] The description documents the _what_ and _why_ - [ ] If this PR changes behavior or adds a feature, user documentation is updated - [ ] If this PR touches photon-serde, all messages have been regenerated and hashes have not changed unexpectedly - [ ] If this PR touches configuration, this is backwards compatible with settings back to v2024.3.1 - [ ] If this PR touches pipeline settings or anything related to data exchange, the frontend typing is updated - [ ] If this PR addresses a bug, a regression test for it is added Signed-off-by: Jade Turner --- .github/workflows/build.yml | 5 ----- .github/workflows/lint-format.yml | 5 ----- .github/workflows/photon-api-docs.yml | 5 ----- .github/workflows/photonvision-rtd.yml | 3 --- .github/workflows/python.yml | 5 ----- .github/workflows/website.yml | 6 ------ 6 files changed, 29 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 84d5e5f85..e283db4e2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,12 +3,7 @@ name: Build on: # Run on pushes to main and pushed tags, and on pull requests against main, but ignore the docs folder push: - branches: [ main ] - tags: - - 'v*' pull_request: - branches: [ main ] - merge_group: concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} diff --git a/.github/workflows/lint-format.yml b/.github/workflows/lint-format.yml index 39e475930..5fda255d9 100644 --- a/.github/workflows/lint-format.yml +++ b/.github/workflows/lint-format.yml @@ -3,12 +3,7 @@ name: Lint and Format on: # Run on pushes to main and pushed tags, and on pull requests against main, but ignore the docs folder push: - branches: [ main ] - tags: - - 'v*' pull_request: - branches: [ main ] - merge_group: concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} diff --git a/.github/workflows/photon-api-docs.yml b/.github/workflows/photon-api-docs.yml index f9b72c4b8..37e436edc 100644 --- a/.github/workflows/photon-api-docs.yml +++ b/.github/workflows/photon-api-docs.yml @@ -3,12 +3,7 @@ name: Photon API Documentation on: # Run on pushes to main and pushed tags, and on pull requests against main, but ignore the docs folder push: - branches: [ main ] - tags: - - 'v*' pull_request: - branches: [ main ] - merge_group: concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} diff --git a/.github/workflows/photonvision-rtd.yml b/.github/workflows/photonvision-rtd.yml index ed9e8f2ec..7f02b87c2 100644 --- a/.github/workflows/photonvision-rtd.yml +++ b/.github/workflows/photonvision-rtd.yml @@ -2,10 +2,7 @@ name: PhotonVision ReadTheDocs Checks on: push: - branches: [ main ] pull_request: - branches: [ main ] - merge_group: concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 3bfeb6114..86dbb8fb9 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -5,12 +5,7 @@ permissions: on: push: - branches: [ main ] - tags: - - 'v*' pull_request: - branches: [ main ] - merge_group: concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index ff2acaaa7..e61bd7674 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -2,13 +2,7 @@ name: Website on: push: - # For now, run on all commits to main - branches: [ main ] - tags: - - 'v*' pull_request: - branches: [ main ] - merge_group: jobs: rsync: