-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
38 lines (33 loc) · 1.01 KB
/
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
34
35
36
37
# action.yml
name: 'Add-header'
description: 'Intelligently add a header to any file within you repo.'
# https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#branding
branding:
icon: 'align-left'
color: 'red'
inputs:
dry-run:
description: 'Do not actually make changes, instead effected files are viewable in the logs'
required: false
default: "false"
verbose:
description: 'Add more output to the console for debugging'
required: false
default: "false"
file-name:
description: 'Use a different file name other than .headerrc.yml'
required: false
default: ".headerrc.yml"
outputs:
none: # id of output
description: 'This action has no outputs'
runs:
using: 'docker'
image: 'Dockerfile'
args: # Args must be passed on individual lines. For example: "--dry-run ${{ inputs.dry-run }}" would be invalid
- --dry-run
- ${{ inputs.dry-run }}
- --verbose
- ${{ inputs.verbose }}
- --file-name
- ${{ inputs.file-name }}