Skip to content

Commit

Permalink
Run workflow dispatch only on default branch (#2717)
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-Steiner authored Dec 18, 2023
1 parent 625d1d2 commit fa7be1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
build-server-images:
name: Build images
uses: ./.github/workflows/_docker-build.yml
# run only on default branch when using it with workflow_dispatch
if: github.ref_name == github.event.repository.default_branch
with:
namespace-repository: flwr/server
file-dir: src/docker/server
Expand Down

0 comments on commit fa7be1b

Please sign in to comment.