-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
64 lines (61 loc) · 1.7 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: 'Modify File Content'
author: 'Kenny Wong'
description: 'Replace text content and submit content'
inputs:
token:
description: 'Your GITHUB_TOKEN'
default: ${{ github.token }}
required: false
body:
description: 'what needs to be replaced'
default: ''
required: true
path:
description: 'File to be replaced'
default: ''
required: false
ref:
description: 'The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)'
default: ''
required: false
branch:
description: 'The person that committed the file. Default: the authenticated user.'
default: ${{ github.ref_name }}
required: false
message:
description: 'The commit message.'
default: ''
required: false
committer_name:
description: 'The name of the author or committer of the commit.'
default: 'github-actions[bot]'
required: false
committer_email:
description: 'The email of the author or committer of the commit.'
default: 'github-actions[bot]@users.noreply.github.com'
required: false
openDelimiter:
description: 'Character to use for opening delimiter, by default `<!--GAMFC-->`'
default: '<!--GAMFC-->'
required: false
closeDelimiter:
description: 'Character to use for closing delimiter, by default `<!--GAMFC-END-->`'
default: '<!--GAMFC-END-->'
required: false
overwrite:
description: 'overwrite file'
default: 'false'
required: false
sync_local_file:
description: 'Sync local file content'
default: 'true'
required: false
outputs:
content:
description: 'text file content'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'list'
color: 'blue'