Skip to content

Commit 68597fd

Browse files
committed
Allow to execute workflows by workflow caller
This commit allows to start workflow by another workflow and make dependencies between them.
1 parent 6c485a2 commit 68597fd

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/basic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: BasicBuilds
22

3-
on: [push, pull_request]
3+
on: [push, pull_request, workflow_call]
44

55
env:
66
BUILD_DIR : "${{github.workspace}}/build/"

.github/workflows/benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Benchmarks
22

3-
on: [push, pull_request]
3+
on: [push, pull_request, workflow_call]
44

55
jobs:
66
ubuntu-build:

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: CodeQL
22

3-
on: [push, pull_request]
3+
on: [push, pull_request, workflow_call]
44

55
concurrency:
66
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

.github/workflows/spellcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: SpellCheck
22

3-
on: [push, pull_request]
3+
on: [push, pull_request, workflow_call]
44

55
jobs:
66
build:

0 commit comments

Comments
 (0)