Skip to content

Commit

Permalink
Run new actions only when in upstream repo or manually triggered
Browse files Browse the repository at this point in the history
  • Loading branch information
p2004a committed Oct 19, 2024
1 parent e6197d1 commit dd4a73d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker-images-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
- 'docker-build-v2/amd64-windows/**'
jobs:
build-images:
if: github.repository == 'beyond-all-reason/spring' || github.event_name == 'workflow_dispatch'
name: Build ${{ matrix.system }} docker image
runs-on: ubuntu-latest
strategy:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/engine-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ on:
# - 'doc/**'
jobs:
build-engine:
if: github.repository == 'beyond-all-reason/spring' || github.event_name == 'workflow_dispatch'
strategy:
matrix:
system:
Expand Down

0 comments on commit dd4a73d

Please sign in to comment.