-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
48 lines (45 loc) · 1.75 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
name: Setup Git environment
description: 🔶 Configure Git for GitHub Actions
branding:
icon: settings
color: orange
inputs:
github-token:
description: >
GitHub token to use for authentication when pulling and pushing to the
GitHub instance defined by 'github-server-url'. By default this is unset.
You can set this to 'github.token' or a personal access token if you want
to configure GitHub authentication globally.
github-server-url:
description: >
Server URL like 'https://github.example.org' to use as the scope for the
'github-token'. By default this uses 'github.server_url' which is usually
'https://github.com'. You shouldn't need to change this.
default: ${{ github.server_url }}
# gitlab-token: {}
# gitlab-server-url: {}
# bitbucket-token: {}
# bitbucket-server-url: {}
user:
description: >
A 'Name Here <[email protected]>' AiO user name & email string. This
is a shortcut alternative to the independant 'user-name' and 'user-email'
options that are also available. This defaults to @github-actions[bot].
You can set this to the special value 'github-actions' to use the
@github-actions[bot] user as the author, or the special 'me' value to use
the current 'github.actor' user as the author.
default: github-actions[bot]
user-name:
description: >
The name of the user. Should be left unspecified if 'user' is specified.
user-email:
description: >
The email of the user. Should be left unspecified if 'user' is specified.
safe-directory:
description: >
A multiline list of globs to add to the Git 'safe-directory' list.
Defaults to the current directory '.'.
default: .
runs:
using: node20
main: dist/main.js