-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yaml
41 lines (37 loc) · 876 Bytes
/
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
name: 'Create GitHub Commit'
description: 'Create Commit'
author: 'qoomon'
branding:
icon: git-commit
color: blue
inputs:
message:
description: 'The commit message'
required: true
amend:
description: 'Amend the last commit'
default: 'false'
allow-empty:
description: 'Allow an empty commit'
default: 'false'
skip-empty:
description: 'Skip action, if nothing to commit'
default: 'false'
token:
description: 'A GitHub access token'
required: true
default: ${{ github.token }}
working-directory:
description: 'The working directory'
required: true
default: '.'
remoteName:
description: 'The remote name to create the commit at.'
required: true
default: 'origin'
outputs:
commit:
description: 'The commit hash, if a commit was created'
runs:
using: 'node20'
main: 'dist/index.js'