This repository has been archived by the owner on Dec 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yaml
52 lines (52 loc) · 1.48 KB
/
action.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
45
46
47
48
49
50
51
52
name: "bruh - Bicep Resource Update Helper"
author: "Christos Galanopoulos"
description: "Scan and update Bicep files with outdated API versions"
branding:
icon: refresh-cw
color: blue
inputs:
command:
description: "The command to run (scan or update)"
required: true
path:
description: "The path to the bicep file or directory"
required: false
include-preview:
description: "Include preview API versions"
required: false
default: "false"
summary:
description: "Show action summary"
required: false
default: "false"
outdated:
description: "Only show outdated resources (only for scan command)"
required: false
default: "false"
output:
description: "The output format (normal | table | markdown) (only for scan command)"
required: false
default: "normal"
in-place:
description: "Overwrite the input file(s) (only for update command)"
required: false
default: "true"
silent:
description: "Silent output (only for update command)"
required: false
default: "false"
outputs:
result:
description: "The complete result from the bruh command being run"
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.command }}
- --path=${{ inputs.path }}
- --include-preview=${{ inputs.include-preview }}
- --outdated=${{ inputs.outdated }}
- --output=${{ inputs.output }}
- --in-place=${{ inputs.in-place }}
- --silent=${{ inputs.silent }}
- --summary=${{ inputs.summary }}