Skip to content

Commit

Permalink
Do not push and run e2e when event comes from fork
Browse files Browse the repository at this point in the history
  • Loading branch information
twobiers authored Oct 31, 2024
1 parent b3adc15 commit 0f6a8c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
uses: docker/build-push-action@v6
id: build
with:
push: true
push: ${{ !github.event.repository.fork }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
Expand All @@ -101,6 +101,8 @@ jobs:
name: Deploy e2e
runs-on: ubuntu-latest

if: ${{ !github.event.repository.fork }}

needs: [ build ]

concurrency: e2e
Expand Down

0 comments on commit 0f6a8c8

Please sign in to comment.