-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathaction.yml
58 lines (58 loc) · 1.79 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
name: 'GitHub Commit & Push'
description: 'Push changes made by actions right back into the current repository.'
author: "actions-js"
inputs:
github_token:
description: 'Token for the repo. Can be passed in using $\{{ secrets.GITHUB_TOKEN }}'
required: true
author_email:
description: 'Email used to configure user.email in `git config`.'
default: 'github-actions[bot]@users.noreply.github.com'
required: false
author_name:
description: 'Name used to configure user.name in `git config`.'
default: 'github-actions[bot]'
required: false
coauthor_email:
description: 'Email used to make a co-authored commit.'
required: false
coauthor_name:
description: 'Name used to make a co-authored commit.'
required: false
message:
description: 'Commit message.'
required: false
repository:
description: 'Repository name to push. Default or empty value represents current github repository (${GITHUB_REPOSITORY}).'
default: ''
required: false
branch:
description: 'Destination branch to push changes.'
required: false
default: 'main'
empty:
description: 'Allow empty commit.'
required: false
amend:
description: 'Determines if the commit should be amended.'
required: false
default: 'false'
force:
description: 'Determines if force push is used.'
required: false
tags:
description: 'Determines if --tags is used.'
required: false
rebase:
description: 'Determines if `git pull --rebase` is used before the push. This is useful if multiple actions try to push at the same time.'
required: false
directory:
description: 'Directory to change to before pushing.'
required: false
default: '.'
runs:
using: 'node20'
main: 'start.js'
branding:
icon: 'arrow-up-circle'
color: 'green'