diff --git a/.github/workflows/build-pull.yaml b/.github/workflows/build-pull.yaml index 25b96f7b7..25b13f0dc 100644 --- a/.github/workflows/build-pull.yaml +++ b/.github/workflows/build-pull.yaml @@ -1,6 +1,7 @@ name: serverless build (pull) on: + workflow_call: pull_request_target: types: [ opened, edited, synchronize, reopened, ready_for_review ] diff --git a/.github/workflows/build-push-release.yaml b/.github/workflows/build-push-release.yaml index 5787eb793..686d5b789 100644 --- a/.github/workflows/build-push-release.yaml +++ b/.github/workflows/build-push-release.yaml @@ -1,6 +1,7 @@ name: serverless build (push) on: + workflow_call: push: branches: [ "main", "release-*" ] paths-ignore: diff --git a/.github/workflows/gitleaks.yaml b/.github/workflows/gitleaks.yaml index beeb7869c..4aa1119c8 100644 --- a/.github/workflows/gitleaks.yaml +++ b/.github/workflows/gitleaks.yaml @@ -1,5 +1,6 @@ name: gitleaks on: + workflow_call: pull_request: types: [opened, edited, synchronize, reopened, ready_for_review] diff --git a/.github/workflows/images-verify.yaml b/.github/workflows/images-verify.yaml index 89d5a6e89..46c98ca0c 100644 --- a/.github/workflows/images-verify.yaml +++ b/.github/workflows/images-verify.yaml @@ -1,6 +1,7 @@ name: images verify run-name: ${{github.event.pull_request.title}} on: + workflow_call: pull_request: branches: - main diff --git a/.github/workflows/integration-tests-pull.yaml b/.github/workflows/integration-tests-pull.yaml index b62bc4790..2d87cb95c 100644 --- a/.github/workflows/integration-tests-pull.yaml +++ b/.github/workflows/integration-tests-pull.yaml @@ -1,6 +1,7 @@ name: integration tests (pull) on: + workflow_call: workflow_run: workflows: [ "serverless operator build (pull)" ] types: diff --git a/.github/workflows/integration-tests-push.yaml b/.github/workflows/integration-tests-push.yaml index 3a0a9cf48..3ecb21ccd 100644 --- a/.github/workflows/integration-tests-push.yaml +++ b/.github/workflows/integration-tests-push.yaml @@ -1,6 +1,7 @@ name: integration tests (push) on: + workflow_call: push: branches: [ "main", "release-*" ] diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 758ab891d..37dac8d5a 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -1,6 +1,7 @@ name: lint on: + workflow_call: pull_request: paths: - 'components/operator/**' diff --git a/.github/workflows/markdown.yaml b/.github/workflows/markdown.yaml index c5b68c3e9..828ded7aa 100644 --- a/.github/workflows/markdown.yaml +++ b/.github/workflows/markdown.yaml @@ -1,6 +1,7 @@ name: markdown run-name: ${{github.event.pull_request.title}} on: + workflow_call: workflow_dispatch: push: branches: [ "main", "release-*" ] diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index a11447af0..dd14d4114 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -1,6 +1,7 @@ name: unit tests on: + workflow_call: pull_request: paths-ignore: - 'docs/**' diff --git a/.github/workflows/upgrade-tests.yaml b/.github/workflows/upgrade-tests.yaml index f4cc527c9..3ca9aa967 100644 --- a/.github/workflows/upgrade-tests.yaml +++ b/.github/workflows/upgrade-tests.yaml @@ -1,6 +1,7 @@ name: upgrade tests on: + workflow_call: push: branches: [ "main", "release-*" ]