forked from grafana/github-api-commit-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
27 lines (27 loc) · 920 Bytes
/
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
name: 'GitHub API commit'
description: 'Commits changes to your repository via the GitHub API instead of git commands'
author: 'Grafana'
inputs:
commit-message:
required: true
description: 'The commit message'
default: 'Commit performed by grafana/github-api-commit-action'
stage-all-files:
required: true
description: 'Whether to additionally stage all changed files in the repo prior to committing'
default: 'false'
token:
required: true
description: 'GitHub access token'
use-checkout-repo:
required: false
description: 'Whether to use the repo from the checked out .git directory. Defaults to false, meaning it will use the action context repo.'
default: 'false'
outputs:
commit-sha:
description: 'The commit hash of the new commit'
committed-files:
description: 'Array of the files that were committed'
runs:
using: 'node16'
main: 'dist/index.js'