forked from actions-x/commit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yaml
49 lines (49 loc) · 1.38 KB
/
action.yaml
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
name: 'Git Commit/Push Changes'
description: 'Commit changed files back to the upstream repository'
branding:
icon: git-commit
color: blue
inputs:
email:
description: The committer's email address
required: true
default: ${{ github.actor }}@localhost
name:
description: The committer's name
required: true
default: ${{ github.actor }}
message:
description: The commit message
required: true
default: Automatically updated using GitHub Actions
branch:
description: The branch to push the changes back to, defaults to the current branch
required: true
default: ${{ github.ref }}
files:
description: The files to add separated by space, defaults to every file
required: true
default: .
repository:
description: The repository to push the code to, defaults to origin (e.g. this repository)
required: true
default: origin
auth-user:
description: The user to authenticate as
required: false
default: ""
token:
description: The token used to push the code, not needed if you push to the same repository
required: true
default: ${{ github.token }}
force:
description: Whether to perform force push
required: true
default: '0'
directory:
description: The working directory that will be used for git commands
required: true
default: '.'
runs:
using: docker
image: Dockerfile