Merge pull request #564 from toeverything/ci-trigger

chore: adjust ci trigger
This commit is contained in:
DarkSky 2022-12-18 00:31:07 +08:00 committed by GitHub
commit 7719f7a86e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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:

View File

@ -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