aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-11-24 06:38:00 +0200
committerGravatar GitHub <[email protected]>2020-11-24 06:38:00 +0200
commit91462340622f681815578e8342b0fb225ae04084 (patch)
treef882bc0fa8daa7aef5bad61e9b0ead25584d181d /.github
parentFix GHCR Docker caching (diff)
Check event for build and push job
Co-authored-by: Sebastiaan Zeeff <[email protected]>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/forms-backend.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/forms-backend.yml b/.github/workflows/forms-backend.yml
index 50a09f2..b2f1adc 100644
--- a/.github/workflows/forms-backend.yml
+++ b/.github/workflows/forms-backend.yml
@@ -58,7 +58,7 @@ jobs:
runs-on: ubuntu-latest
needs: [lint]
- if: github.ref == 'refs/heads/main'
+ if: github.ref == 'refs/heads/main' && github.event_name == 'push'
steps:
- name: Create SHA Container Tag