-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
35 lines (35 loc) · 972 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
34
35
name: Update File
description: Automatically update a file by replace marked section with the given content
author: bubkoo <[email protected]>
branding:
icon: refresh-cw
color: orange
inputs:
GITHUB_TOKEN:
description: Your GitHub token for authentication.
required: true
path:
description: File path to update
required: true
content:
description: Content to update the file
required: true
commit_message:
description: Commit message when update the file
required: false
default: 'chore: update [skip ci]'
opening_comment:
description: Opening comment
required: false
default: '<!-- [START AUTO UPDATE] -->'
closing_comment:
description: Closing comment
required: false
default: '<!-- [END AUTO UPDATE] -->'
warning_comment:
description: Warning comment
required: false
default: '<!-- Please keep comment here to allow auto-update -->'
runs:
using: node16
main: dist/index.js