Skip to content

Commit 1b3c692

Browse files
authored
Merge branch 'main' into renovate/manager
2 parents 7132c64 + 84d2563 commit 1b3c692

File tree

5 files changed

+133
-14
lines changed

5 files changed

+133
-14
lines changed

proxy.config.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,7 @@
6767
}
6868
}
6969
],
70-
"api": {
71-
"github": {
72-
"baseUrl": "https://api.github.com"
73-
}
74-
},
70+
"api": {},
7571
"commitConfig": {
7672
"author": {
7773
"email": {

src/proxy/processors/push-action/gitleaks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ const exec = async (req: any, action: Action): Promise<Action> => {
171171
step.setError('\n' + gitleaks.stdout + gitleaks.stderr);
172172
}
173173
} else {
174-
console.log('succeded');
174+
console.log('succeeded');
175175
console.log(gitleaks.stderr);
176176
}
177177
} catch (e) {

test/fixtures/test-package/package-lock.json

Lines changed: 129 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/generated-config.test.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,6 @@ describe('Generated Config (QuickType)', () => {
212212
userInADGroup:
213213
'https://somedomain.com/some/path/checkUserGroups?domain=<domain>&name=<name>&id=<id>',
214214
},
215-
github: {
216-
baseUrl: 'https://api.github.com',
217-
},
218215
},
219216

220217
domains: {
@@ -224,13 +221,10 @@ describe('Generated Config (QuickType)', () => {
224221

225222
// Complex nested structures
226223
attestationConfig: {
227-
enabled: true,
228224
questions: [
229225
{
230-
id: 'q1',
231-
type: 'boolean',
232-
required: true,
233226
label: 'Test Question',
227+
tooltip: { text: 'Test tooltip content', links: ['https://git-proxy.finos.org./'] },
234228
},
235229
],
236230
},

test/processors/gitLeaks.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ describe('gitleaks', () => {
117117
expect(result.error).to.be.false;
118118
expect(result.steps).to.have.lengthOf(1);
119119
expect(result.steps[0].error).to.be.false;
120-
expect(logStub.calledWith('succeded')).to.be.true;
120+
expect(logStub.calledWith('succeeded')).to.be.true;
121121
expect(logStub.calledWith('No leaks found')).to.be.true;
122122
});
123123

0 commit comments

Comments
 (0)