diff --git a/.github/workflows/ci-global.yml b/.github/workflows/ci-global.yml index 508f1a5f89..f6d8d6d618 100644 --- a/.github/workflows/ci-global.yml +++ b/.github/workflows/ci-global.yml @@ -4,10 +4,13 @@ on: push: branches: - "main" + pull_request: branches: - "main" + workflow_call: + ### # The global CI settings need to be adjusted for the `release-*`` branches such that: # 1. The operator uses the correct `:release-*` images @@ -18,6 +21,7 @@ on: # branches: # - 'main' # - 'release-*' +# # pull_request: # branches: # - 'main' diff --git a/.github/workflows/ci-repo.yml b/.github/workflows/ci-repo.yml index e5cc1c63ee..66e735ddd1 100644 --- a/.github/workflows/ci-repo.yml +++ b/.github/workflows/ci-repo.yml @@ -11,11 +11,10 @@ on: - "main" - "release-*" - schedule: - - cron: "35 5 * * *" # every day @ 5:35am UTC - workflow_dispatch: + workflow_call: + jobs: unit-test-lookup-image: runs-on: ubuntu-latest diff --git a/.github/workflows/nightly-ci-global.yaml b/.github/workflows/nightly-ci-global.yaml new file mode 100644 index 0000000000..ae9c0c9a20 --- /dev/null +++ b/.github/workflows/nightly-ci-global.yaml @@ -0,0 +1,11 @@ +name: Nightly CI - main (global konveyor CI) + +on: + schedule: + - cron: "35 5 * * *" # every day @ 5:35am UTC + + workflow_dispatch: + +jobs: + nightly: + uses: ./.github/workflows/ci-global.yml diff --git a/.github/workflows/nightly-ci-repo.yaml b/.github/workflows/nightly-ci-repo.yaml new file mode 100644 index 0000000000..e05550c5cd --- /dev/null +++ b/.github/workflows/nightly-ci-repo.yaml @@ -0,0 +1,11 @@ +name: Nightly CI - main (repo level) + +on: + schedule: + - cron: "35 5 * * *" # every day @ 5:35am UTC + + workflow_dispatch: + +jobs: + nightly: + uses: ./.github/workflows/ci-repo.yml