forked from fminna/Group_B_AM_24
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (37 loc) · 968 Bytes
/
worflow.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Main Workflow
on:
workflow_dispatch:
inputs:
chart_folder:
description: 'The name of the Helm Chart'
required: true
default: 'busybox'
type: string
first_tool:
description: 'The tool to analyze the chart'
required: true
default: 'checkov'
type: string
jobs:
step_1:
uses: ./.github/workflows/run_checker.yaml
with:
iteration: 1
chart_folder: ${{ inputs.chart_folder }}
first_tool: ${{ inputs.first_tool }}
secrets: inherit
step_2:
needs: [step_1]
uses: ./.github/workflows/fix_chart.yaml
with:
iteration: 1
chart_folder: ${{ inputs.chart_folder }}
first_tool: ${{ inputs.first_tool }}
debug:
needs: [step_1, step_2]
uses: ./.github/workflows/run_checker.yaml
with:
iteration: 2
chart_folder: ${{ inputs.chart_folder }}
first_tool: ${{ inputs.first_tool }}
secrets: inherit