mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 08:38:34 +00:00
chore: adjust ci trigger
This commit is contained in:
6
.github/workflows/build-community.yml
vendored
6
.github/workflows/build-community.yml
vendored
@@ -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
|
||||||
|
|
||||||
|
|||||||
6
.github/workflows/build-livedemo.yml
vendored
6
.github/workflows/build-livedemo.yml
vendored
@@ -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
|
||||||
|
|
||||||
|
|||||||
4
.github/workflows/codeql.yml
vendored
4
.github/workflows/codeql.yml
vendored
@@ -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:
|
||||||
|
|||||||
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user