Skip to content

Commit 75b36d4

Browse files
authored
Combine action workflows into single workflow (#293)
1 parent b2658cf commit 75b36d4

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

.github/workflows/actionci.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
on:
2+
workflow_call:
3+
inputs:
4+
run-actionlint:
5+
required: false
6+
type: boolean
7+
default: true
8+
run-frizbee:
9+
required: false
10+
type: boolean
11+
default: true
12+
run-zizmor:
13+
required: false
14+
type: boolean
15+
default: true
16+
zizmor-advanced-security:
17+
description: Upload zizmor results to GitHub Advanced Security
18+
required: false
19+
type: boolean
20+
default: true
21+
22+
permissions:
23+
contents: read
24+
25+
jobs:
26+
actionlint:
27+
uses: ./.github/workflows/actionlint.yml
28+
if: inputs.run-actionlint
29+
30+
frizbee:
31+
uses: ./.github/workflows/frizbee.yml
32+
if: inputs.run-frizbee
33+
34+
zizmor:
35+
uses: ./.github/workflows/zizmor.yml
36+
if: inputs.run-zizmor
37+
with:
38+
advanced-security: ${{ inputs.zizmor-advanced-security }}
39+
permissions:
40+
contents: read
41+
security-events: write

0 commit comments

Comments
 (0)