-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
32 lines (32 loc) · 1.02 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
---
name: multi-file-commit
description: Commit multiple files via the github API
inputs:
repository:
description: >
the repository you want to push the commit, if not provided it will push to repo where the action runs
default: ${{ github.repository }}
ref:
description: The branch you want to push the commit, branch will not created, it need to be created before!
default: ${{ github.ref_name }}
token:
description: >
the APP TOKEN, hint: you can use a PAT aswel
default: ${{ github.token }}
message:
description: >
The commit message for the commit.
required: true
files:
description: >
A list of files to commit, prevent other staged files to be commited
Example: src/main.mjs,src/main.spec.js
tag:
description: >
In case you want to tag your commit, just pass a tag reference and this action will do the work for you.
outputs:
sha:
description: The commit sha for further referencing in your workflow
runs:
using: node16
main: dist/index.mjs