-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
47 lines (44 loc) · 1.51 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
38
39
40
41
42
43
44
45
46
47
name: "Caretaker Action"
author: "TGWolf"
description: "A tool to run caretaker to generate changelogs."
inputs:
git-push-user-name:
description: If empty the name of the GitHub Actions bot will be used (i.e. `github-actions[bot]`)
required: false
default: ""
git-push-user-email:
description: If empty the no-reply email of the GitHub Actions bot will be used (i.e. `github-actions[bot]@users.noreply.github.com`)
required: false
default: ""
git-commit-message:
description: Commit message
required: false
default: "chore: caretaker action"
gpg-passphrase:
description: Passphrase for the GPG key
required: false
gpg-private-key:
description: GPG private key for signing the published artifacts
required: false
output-file:
description: 'The name of the changelog file'
required: true
default: 'CHANGELOG.md'
args:
description: 'Additional arguments to pass to the command (see [full documentation](https://github.com/terraform-docs/terraform-docs/tree/master/docs))'
required: false
default: ""
runs:
using: 'docker'
image: Dockerfile
env:
GPG_PRIVATE_KEY: ${{ inputs.gpg-private-key }}
GPG_PASSPHRASE: ${{ inputs.gpg-passphrase }}
INPUT_GIT_PUSH_USER_NAME: ${{ inputs.git-push-user-name }}
INPUT_GIT_PUSH_USER_EMAIL: ${{ inputs.git-push-user-email }}
INPUT_GIT_COMMIT_MESSAGE: ${{ inputs.git-commit-message }}
OUTPUT_FILE: ${{ inputs.output-file }}
ARGS: ${{ inputs.args }}
branding:
icon: 'activity'
color: 'white'