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 <andrey.borisovich@intel.com>
This commit is contained in:
Andrey Borisovich 2022-11-23 14:14:31 +01:00 committed by Liam Girdwood
parent b033740402
commit 98cbc7269d
2 changed files with 3 additions and 1 deletions

View File

@ -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:

View File

@ -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: