From 56074417c4041fd3e5c41cf82623f40c757e12c7 Mon Sep 17 00:00:00 2001 From: DarkSky Date: Sun, 18 Dec 2022 00:11:38 +0800 Subject: [PATCH] chore: adjust ci trigger --- .github/workflows/build-community.yml | 6 +++--- .github/workflows/build-livedemo.yml | 6 +++--- .github/workflows/codeql.yml | 4 ++-- .github/workflows/tests.yml | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-community.yml b/.github/workflows/build-community.yml index 2291513cd0..ee88e5489c 100644 --- a/.github/workflows/build-community.yml +++ b/.github/workflows/build-community.yml @@ -2,9 +2,9 @@ name: Build Pathfinder Community Version on: push: - branches: [pathfinder] + branches: [master] pull_request: - branches: [pathfinder] + branches: [master] # Cancels all previous workflow runs for pull requests that have not completed. # See https://docs.github.com/en/actions/using-jobs/using-concurrency @@ -70,7 +70,7 @@ jobs: push_to_registry: # See https://docs.github.com/en/actions/publishing-packages/publishing-docker-images name: Push Docker image to Docker Hub - if: github.ref == 'refs/heads/pathfinder' + if: github.ref == 'refs/heads/master' runs-on: ubuntu-latest needs: build diff --git a/.github/workflows/build-livedemo.yml b/.github/workflows/build-livedemo.yml index 9cbf01a71a..bf1dc8bbaf 100644 --- a/.github/workflows/build-livedemo.yml +++ b/.github/workflows/build-livedemo.yml @@ -2,9 +2,9 @@ name: Build Pathfinder LiveDemo Version on: push: - branches: [pathfinder] + branches: [master] pull_request: - branches: [pathfinder] + branches: [master] # Cancels all previous workflow runs for pull requests that have not completed. # See https://docs.github.com/en/actions/using-jobs/using-concurrency @@ -72,7 +72,7 @@ jobs: push_to_registry: # See https://docs.github.com/en/actions/publishing-packages/publishing-docker-images name: Push Docker image to Docker Hub - if: github.ref == 'refs/heads/pathfinder' + if: github.ref == 'refs/heads/master' runs-on: ubuntu-latest needs: build diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index eb0072f193..145437e95f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -13,10 +13,10 @@ name: 'CodeQL' on: push: - branches: [pathfinder] + branches: [master] pull_request: # The branches below must be a subset of the branches above - branches: [pathfinder] + branches: [master] jobs: analyze: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 521cc093d2..fbc8e8e6ad 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,9 +1,9 @@ name: E2E & Unit Tests on: push: - branches: [pathfinder] + branches: [master] pull_request: - branches: [pathfinder] + branches: [master] jobs: test: timeout-minutes: 60