generated from remal-github-actions/template-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
38 lines (35 loc) · 1.08 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
name: Push back
description: Push Git commits back to the repository
inputs:
githubToken:
required: true
default: '${{github.token}}'
description: GitHub access token with at least 'public_repo' (use 'repo' scope instead of 'public_repo' for private repositories)
message:
required: true
description: Commit message
files:
required: false
description: Delimited be new line character list of files or directories to commit. All files will be commited if not set.
committerName:
required: false
description: Committer name
committerEmail:
required: false
description: Committer email
forcePush:
required: true
default: 'false'
description: Set to 'true' to enable force push
targetBranch:
required: false
description: Branch to push to
outputs:
result:
description: |
'nothing-changed' - no files were changed, nothing to commit;
'remote-changed' - remote repository branch has been changed, push-back is skipped;
'pushed-successfully' - pushed successfully;
runs:
using: node20
main: 'dist/index.js'