generated from actions/typescript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
action.yml
93 lines (84 loc) · 3.31 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
name: 'github-template-sync-action'
description: 'Keep your github template fork up to date'
author: 'prisis'
inputs:
github_token:
description: >
Personal access token (PAT) used to fetch the repository. The PAT is configured
with the local git config, which enables your scripts to run authenticated git
commands. The post-job step removes the PAT.
We recommend using a service account with the least permissions necessary.
Also when generating a new PAT, select the least scopes necessary.
[Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
default: ${{ github.token }}
required: false
ssh-key:
description: >
SSH key used to fetch the repository. The SSH key is configured with the local
git config, which enables your scripts to run authenticated git commands.
The post-job step removes the SSH key.
We recommend using a service account with the least permissions necessary.
[Learn more about creating and using
encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
required: false
ssh-known-hosts:
description: >
Known hosts in addition to the user and global host key database. The public
SSH keys for a host may be obtained using the utility `ssh-keyscan`. For example,
`ssh-keyscan github.com`. The public key for github.com is always implicitly added.
required: false
ssh-strict:
description: >
Whether to perform strict host key checking. When true, adds the options `StrictHostKeyChecking=yes`
and `CheckHostIP=no` to the SSH command line. Use the input `ssh-known-hosts` to
configure additional hosts.
default: 'true'
required: false
persist-credentials:
description: 'Whether to configure the token or SSH key with the local git config'
default: 'true'
required: false
git_author_name:
description: 'Includes your name to the commit'
required: true
git_author_email:
description: 'Includes your email to the commit'
required: true
owner:
description: 'Owner of the current repository'
required: false
repo:
description: 'The current repository name'
required: false
pr_title:
description: 'The title of the pull request'
required: false
pr_message:
description: 'The message in the pull request'
required: false
ref:
description: >
The branch, tag or SHA to checkout. When checking out the repository that
triggered a workflow, this defaults to the reference or SHA for that
event. Otherwise, defaults to `master`.
required: true
template_repository:
description: ''
required: true
template_ref:
description: >
The branch, tag or SHA to checkout. When checking out the repository that
triggered a workflow, this defaults to the reference or SHA for that
event. Otherwise, defaults to `master`.
required: false
ignore_list:
description: >
Extend the default list with excluded files that shouldn't be synced.
required: false
branding:
icon: "refresh-ccw"
color: yellow
runs:
using: 'node12'
main: 'dist/index.js'
post: dist/index.js