Skip to content

Commit 3c2ba7e

Browse files
committed
Deploy Production Code for Commit 69d79eb 🚀
1 parent 69d79eb commit 3c2ba7e

1,335 files changed

Lines changed: 12 additions & 20551 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

lib/git.js

Lines changed: 1 addition & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -55,57 +55,13 @@ function init(action) {
5555
catch (_b) {
5656
(0, core_1.info)('Unable to unset previous git config authentication as it may not exist, continuing…');
5757
}
58-
// Remove includeIf directives that point to credential files (actions/checkout@v6+)
59-
try {
60-
if ((process.env.CI && !action.sshKey) || action.isTest) {
61-
/* actions/checkout@v6+ uses includeIf directives to inject credentials.
62-
We need to remove these to ensure the provided token/SSH key is used instead.
63-
Check both local and global scopes as containers may configure differently.
64-
*/
65-
for (const scope of ['--local', '--global']) {
66-
try {
67-
const includeIfResult = yield (0, execute_1.execute)(`git config ${scope} --get-regexp 'includeIf\\..*\\.path'`, action.workspace, true // Always silent to avoid exposing credential paths
68-
);
69-
// Parse the output to find includeIf sections
70-
if (includeIfResult.stdout) {
71-
const lines = includeIfResult.stdout.trim().split('\n');
72-
for (const line of lines) {
73-
// Skip empty lines
74-
if (!line.trim()) {
75-
continue;
76-
}
77-
// Each line is in format: includeIf.gitdir:/path/.git.path /path/to/config
78-
// The regex captures the section name without the trailing .path suffix
79-
const match = line.match(/^(includeIf\.[^\s]+)\.path\s+/);
80-
if (match) {
81-
const section = match[1];
82-
try {
83-
yield (0, execute_1.execute)(`git config ${scope} --remove-section "${section}"`, action.workspace, true // Always silent
84-
);
85-
}
86-
catch (_c) {
87-
// Continue if section cannot be removed
88-
}
89-
}
90-
}
91-
}
92-
}
93-
catch (_d) {
94-
// Continue if no includeIf directives exist in this scope
95-
}
96-
}
97-
}
98-
}
99-
catch (_e) {
100-
// Silently continue if no includeIf directives exist or cannot be read
101-
}
10258
try {
10359
yield (0, execute_1.execute)(`git remote rm origin`, action.workspace, action.silent);
10460
if (action.isTest === constants_1.TestFlag.UNABLE_TO_REMOVE_ORIGIN) {
10561
throw new Error();
10662
}
10763
}
108-
catch (_f) {
64+
catch (_c) {
10965
(0, core_1.info)('Attempted to remove origin but failed, continuing…');
11066
}
11167
yield (0, execute_1.execute)(`git remote add origin ${action.repositoryPath}`, action.workspace, action.silent);

node_modules/@typescript-eslint/project-service/node_modules/@typescript-eslint/types/LICENSE renamed to node_modules/@typescript-eslint/eslint-plugin/LICENSE

File renamed without changes.

node_modules/typescript-eslint/node_modules/@typescript-eslint/eslint-plugin/README.md renamed to node_modules/@typescript-eslint/eslint-plugin/README.md

node_modules/typescript-eslint/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended-raw.d.ts renamed to node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended-raw.d.ts

File renamed without changes.

node_modules/typescript-eslint/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended-raw.js renamed to node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended-raw.js

File renamed without changes.

node_modules/typescript-eslint/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/all.d.ts renamed to node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/all.d.ts

File renamed without changes.

node_modules/typescript-eslint/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/all.js renamed to node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/all.js

File renamed without changes.

node_modules/typescript-eslint/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/base.d.ts renamed to node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/base.d.ts

File renamed without changes.

node_modules/typescript-eslint/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/base.js renamed to node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/base.js

File renamed without changes.

node_modules/typescript-eslint/node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/disable-type-checked.d.ts renamed to node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslintrc/disable-type-checked.d.ts

File renamed without changes.

0 commit comments

Comments
 (0)