Skip to content

Commit

Permalink
.github: make all workflows callable and dispatchable
Browse files Browse the repository at this point in the history
Because why shouldn't they be.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
  • Loading branch information
marc-hb committed Dec 5, 2023
1 parent 130f37e commit af57515
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Build test all components
# 'Actions' tab

# yamllint disable-line rule:truthy
on: [pull_request, workflow_dispatch]
on: [pull_request, workflow_dispatch, workflow_call]

jobs:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
name: codestyle

# yamllint disable-line rule:truthy
on: [pull_request]
on: [pull_request, workflow_call, workflow_dispatch]

jobs:
checkpatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ name: installer
# '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:
checktree:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/repro-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
name: Reproducible builds

# yamllint disable-line rule:truthy
on: [pull_request]
on: [pull_request, workflow_dispatch, workflow_call]

jobs:
main:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/rimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ name: rimage

# yamllint disable-line rule:truthy
on:
workflow_call:
workflow_dispatch:
pull_request:
paths:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/testbench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ on:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
workflow_call:

jobs:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: User space tools/ directory
# 'Actions' tab

# yamllint disable-line rule:truthy
on: [pull_request, workflow_dispatch]
on: [pull_request, workflow_dispatch, workflow_call]

jobs:
# This is not the same as building every ./build-tools.sh option.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: Unit tests
# 'Actions' tab

# yamllint disable-line rule:truthy
on: [pull_request, workflow_dispatch]
on: [pull_request, workflow_dispatch, workflow_call]

jobs:
cmocka_utests:
Expand Down

0 comments on commit af57515

Please sign in to comment.