mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-26 14:13:22 +03:00
Merge pull request #564 from toeverything/ci-trigger
chore: adjust ci trigger
This commit is contained in:
commit
7719f7a86e
6
.github/workflows/build-community.yml
vendored
6
.github/workflows/build-community.yml
vendored
@ -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
|
||||
|
||||
|
6
.github/workflows/build-livedemo.yml
vendored
6
.github/workflows/build-livedemo.yml
vendored
@ -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
|
||||
|
||||
|
4
.github/workflows/codeql.yml
vendored
4
.github/workflows/codeql.yml
vendored
@ -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:
|
||||
|
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user