From 98cbc7269d8a5cac4f3ab2dc0e4a8bd517e88643 Mon Sep 17 00:00:00 2001 From: Andrey Borisovich Date: Wed, 23 Nov 2022 14:14:31 +0100 Subject: [PATCH] workflow: made "Main Actions" and "Zephry" workflows reusable Reusable actions may be triggered by other actions in the repository. Those two actions will be triggered by new daily testy action at specified time of the day. Signed-off-by: Andrey Borisovich --- .github/workflows/pull-request.yml | 2 ++ .github/workflows/zephyr.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 47c17b8f6625..d7704c7b3a37 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -28,6 +28,8 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: + # Allows to call this forkflow from other workflows + workflow_call: jobs: diff --git a/.github/workflows/zephyr.yml b/.github/workflows/zephyr.yml index 03d491284194..befc3fd9465d 100644 --- a/.github/workflows/zephyr.yml +++ b/.github/workflows/zephyr.yml @@ -5,7 +5,7 @@ name: Zephyr # 'workflow_dispatch' allows running this workflow manually from the # 'Actions' tab # yamllint disable-line rule:truthy -on: [push, pull_request, workflow_dispatch] +on: [push, pull_request, workflow_dispatch, workflow_call] jobs: build: