Skip to content

Commit 9b000e2

Browse files
committed
feat(gitleaks): test
1 parent 6cff2b7 commit 9b000e2

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
- uses: gitleaks/gitleaks-action@v2
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
GITLEAKS_ENABLE_UPLOAD_ARTIFACT: 'false'
24+
GITLEAKS_VERSION: '8.28.0'
25+
GITLEAKS_LOG_LEVEL: 'trace'
2326

2427
- name: Use Node.js ${{ matrix.node-version }}
2528
uses: actions/setup-node@v4

src/handler.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ if (require.main === module) {
6868

6969
const fakeContext: Context = {
7070
clientContext: {
71-
gc_client_id: '',
72-
gc_client_secret: '',
73-
gc_aws_region: 'us-east-1'
71+
gc_client_id: 'asdadad-asdadad-asdada',
72+
gc_client_secret: 'AKIAIOSFODNN7EXAMPLE',
73+
gc_aws_region: 'us-east-1',
7474
}
7575
};
7676

0 commit comments

Comments
 (0)