Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
actions
/
checkout
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
0
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Files
7739b9b
.github
.licenses
__test__
adrs
dist
src
misc
fs-helper.ts
git-auth-helper.ts
git-command-manager.ts
git-directory-helper.ts
git-source-provider.ts
git-source-settings.ts
git-version.ts
github-api-helper.ts
input-helper.ts
main.ts
ref-helper.ts
regexp-helper.ts
retry-helper.ts
state-helper.ts
url-helper.ts
workflow-context-helper.ts
.eslintignore
.eslintrc.json
.gitattributes
.gitignore
.licensed.yml
.prettierignore
.prettierrc.json
CHANGELOG.md
CODEOWNERS
CONTRIBUTING.md
LICENSE
README.md
action.yml
jest.config.js
package-lock.json
package.json
tsconfig.json
Breadcrumbs
checkout
/
src
/
git-source-settings.ts
Blame
Blame
Latest commit
History
History
106 lines (86 loc) · 1.88 KB
Breadcrumbs
checkout
/
src
/
git-source-settings.ts
Top
File metadata and controls
Code
Blame
106 lines (86 loc) · 1.88 KB
Raw
export interface IGitSourceSettings { /** * The location on disk where the repository will be placed */ repositoryPath: string /** * The repository owner */ repositoryOwner: string /** * The repository name */ repositoryName: string /** * The ref to fetch */ ref: string /** * The commit to checkout */ commit: string /** * Indicates whether to clean the repository */ clean: boolean /** * The array of folders to make the sparse checkout */ sparseCheckout: string[] /** * Indicates whether to use cone mode in the sparse checkout (if any) */ sparseCheckoutConeMode: boolean /** * The depth when fetching */ fetchDepth: number /** * Fetch tags, even if fetchDepth > 0 (default: false) */ fetchTags: boolean /** * Indicates whether to fetch LFS objects */ lfs: boolean /** * Indicates whether to checkout submodules */ submodules: boolean /** * Indicates whether to recursively checkout submodules */ nestedSubmodules: boolean /** * The auth token to use when fetching the repository */ authToken: string /** * The SSH key to configure */ sshKey: string /** * Additional SSH known hosts */ sshKnownHosts: string /** * Indicates whether the server must be a known host */ sshStrict: boolean /** * Indicates whether to persist the credentials on disk to enable scripting authenticated git commands */ persistCredentials: boolean /** * Organization ID for the currently running workflow (used for auth settings) */ workflowOrganizationId: number | undefined /** * Indicates whether to add repositoryPath as safe.directory in git global config */ setSafeDirectory: boolean /** * User override on the GitHub Server/Host URL that hosts the repository to be cloned */ githubServerUrl: string | undefined }
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
94
95
96
97
98
99
100
101
102
103
104
105
106
You can’t perform that action at this time.