-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
33 lines (33 loc) · 877 Bytes
/
action.yml
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
name: "kustomize-diff"
description: "Kustomize build head and base of PR, add diff as comment"
inputs:
base_ref:
description: "Ref for PR base"
required: true
default: ${{ github.base_ref }}
head_ref:
description: "Ref for PR head"
required: true
default: ${{ github.head_ref }}
pr_num:
description: "PR number / ID"
required: true
default: ${{ github.event.number }}
token:
description: "Token for GitHub authentication"
required: true
default: ${{ github.token }}
root_dir:
description: "Root directory for kustomize files"
required: false
default: "./kustomize"
max_depth:
description: "Maximum depth to search for kustomization files"
required: false
default: "2"
outputs:
diff:
description: "Diff between kustomize built head and base"
runs:
using: "docker"
image: "Dockerfile"