chore: adjust ci trigger

This commit is contained in:
DarkSky
2022-12-18 00:11:38 +08:00
parent 62740262ec
commit 56074417c4
4 changed files with 10 additions and 10 deletions

View File

@@ -2,9 +2,9 @@ name: Build Pathfinder Community Version
on: on:
push: push:
branches: [pathfinder] branches: [master]
pull_request: pull_request:
branches: [pathfinder] branches: [master]
# Cancels all previous workflow runs for pull requests that have not completed. # Cancels all previous workflow runs for pull requests that have not completed.
# See https://docs.github.com/en/actions/using-jobs/using-concurrency # See https://docs.github.com/en/actions/using-jobs/using-concurrency
@@ -70,7 +70,7 @@ jobs:
push_to_registry: push_to_registry:
# See https://docs.github.com/en/actions/publishing-packages/publishing-docker-images # See https://docs.github.com/en/actions/publishing-packages/publishing-docker-images
name: Push Docker image to Docker Hub name: Push Docker image to Docker Hub
if: github.ref == 'refs/heads/pathfinder' if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build

View File

@@ -2,9 +2,9 @@ name: Build Pathfinder LiveDemo Version
on: on:
push: push:
branches: [pathfinder] branches: [master]
pull_request: pull_request:
branches: [pathfinder] branches: [master]
# Cancels all previous workflow runs for pull requests that have not completed. # Cancels all previous workflow runs for pull requests that have not completed.
# See https://docs.github.com/en/actions/using-jobs/using-concurrency # See https://docs.github.com/en/actions/using-jobs/using-concurrency
@@ -72,7 +72,7 @@ jobs:
push_to_registry: push_to_registry:
# See https://docs.github.com/en/actions/publishing-packages/publishing-docker-images # See https://docs.github.com/en/actions/publishing-packages/publishing-docker-images
name: Push Docker image to Docker Hub name: Push Docker image to Docker Hub
if: github.ref == 'refs/heads/pathfinder' if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build

View File

@@ -13,10 +13,10 @@ name: 'CodeQL'
on: on:
push: push:
branches: [pathfinder] branches: [master]
pull_request: pull_request:
# The branches below must be a subset of the branches above # The branches below must be a subset of the branches above
branches: [pathfinder] branches: [master]
jobs: jobs:
analyze: analyze:

View File

@@ -1,9 +1,9 @@
name: E2E & Unit Tests name: E2E & Unit Tests
on: on:
push: push:
branches: [pathfinder] branches: [master]
pull_request: pull_request:
branches: [pathfinder] branches: [master]
jobs: jobs:
test: test:
timeout-minutes: 60 timeout-minutes: 60