Skip to content

Commit

Permalink
add workflow_call event to all workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
pPrecel committed Jul 22, 2024
1 parent f884b3a commit 9e356c3
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-pull.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: serverless build (pull)

on:
workflow_call:
pull_request_target:
types: [ opened, edited, synchronize, reopened, ready_for_review ]

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-push-release.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: serverless build (push)

on:
workflow_call:
push:
branches: [ "main", "release-*" ]
paths-ignore:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/gitleaks.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: gitleaks
on:
workflow_call:
pull_request:
types: [opened, edited, synchronize, reopened, ready_for_review]

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/images-verify.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: images verify
run-name: ${{github.event.pull_request.title}}
on:
workflow_call:
pull_request:
branches:
- main
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/integration-tests-pull.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: integration tests (pull)

on:
workflow_call:
workflow_run:
workflows: [ "serverless operator build (pull)" ]
types:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/integration-tests-push.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: integration tests (push)

on:
workflow_call:
push:
branches: [ "main", "release-*" ]

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: lint

on:
workflow_call:
pull_request:
paths:
- 'components/operator/**'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/markdown.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: markdown
run-name: ${{github.event.pull_request.title}}
on:
workflow_call:
workflow_dispatch:
push:
branches: [ "main", "release-*" ]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: unit tests

on:
workflow_call:
pull_request:
paths-ignore:
- 'docs/**'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/upgrade-tests.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: upgrade tests

on:
workflow_call:
push:
branches: [ "main", "release-*" ]

Expand Down

0 comments on commit 9e356c3

Please sign in to comment.