-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
54 lines (53 loc) · 1.6 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
# ACTION METADATA
# https://docs.github.com/actions/creating-actions/metadata-syntax-for-github-actions
---
name: gh-commit
author: '@flex-development'
description: Create commits with the GitHub API
inputs:
api:
default: ${{ github.api_url }}
description: Base URL of GitHub API
required: false
files:
description: |
Newline-delimited list of changed file filters.
Each filter should be a file path relative to inputs.workspace.
All detected changes will be committed if file filters are not provided.
Files will be checked against `git status --porcelain --untracked-files`
required: false
message:
description: Commit message
required: true
owner:
default: ${{ github.repository_owner }}
description: Repository owner
required: false
ref:
default: ${{ github.event.workflow_run.head_branch || github.head_ref || github.ref }}
description: Name of branch to push commit to
required: false
repo:
default: ${{ github.event.repository.name }}
description: Repository name
required: false
token:
default: ${{ github.token }}
description: Personal access token (PAT) used to authenticate GitHub API requests
required: false
trailers:
description: Newline-delimited list of git trailers
required: false
workspace:
default: ${{ github.workspace }}
description: Path to current working directory
required: false
outputs:
sha:
description: SHA of created commit, or an empty string if a commit was not created
runs:
main: dist/main.mjs
using: node20
branding:
color: blue
icon: git-commit