Skip to content

Commit

Permalink
cI: only run the build image on main branch and for PR jobs.
Browse files Browse the repository at this point in the history
Signed-off-by: Hiram Chirino <[email protected]>
  • Loading branch information
chirino committed Apr 30, 2024
1 parent 31ee24c commit 7013fb6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
name: Build Image

on:
workflow_dispatch:
push:
branches: ['*']
tags: ['*']

branches:
- 'main'
pull_request:
branches:
- 'main'
env:
IMG_REGISTRY_HOST: quay.io
IMG_REGISTRY_ORG: kuadrant
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ name: e2e tests
on:
push:
branches:
- '*'
- 'main'
pull_request:
branches:
- '*'
- 'main'

jobs:
limits_file_watcher:
name: Limits File Watcher in k8s environment
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ name: Limitador
on:
push:
branches:
- '*'
- 'main'
pull_request:
branches:
- '*'
- 'main'
schedule:
- cron: '5 4 * * *'

Expand Down

0 comments on commit 7013fb6

Please sign in to comment.