generated from devops-infra/template-action
-
Notifications
You must be signed in to change notification settings - Fork 9
/
action.yml
53 lines (53 loc) · 1.5 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
name: GitHub Action for committing changes to a repository
author: Krzysztof Szyper / ChristophShyper / biotyk@mail.com
description: GitHub Action that will create a new commit and push it back to the repository
inputs:
github_token:
description: Personal Access Token for GitHub for pushing the code
required: true
default: ""
add_timestamp:
description: Whether to add timestamp to a new branch name
required: false
default: "false"
amend:
description: Whether to make amendment to the previous commit
required: false
default: "false"
commit_prefix:
description: Prefix added to commit message
required: false
default: ""
commit_message:
description: Commit message to set
required: false
default: ""
force:
description: Whether to force push
required: false
default: "false"
no_edit:
description: Whether to not edit commit message when using amend
required: false
default: "false"
organization_domain:
description: Name of GitHub Enterprise organization
required: false
default: github.com
target_branch:
description: Name of a new branch to push the code into
required: false
default: ""
outputs:
files_changed:
description: List of changed files
branch_name:
description: Name of the branch code was pushed into
runs:
using: docker
image: docker://devopsinfra/action-commit-push:v0.9.2
env:
GITHUB_TOKEN: ${{ inputs.github_token }}
branding:
color: purple
icon: upload-cloud