Skip to content

Commit 512ba81

Browse files
Merge pull request #42 from step-security-bot/stepsecurity_remediation_1731509066
[StepSecurity] Apply security best practices
2 parents ba91c65 + 3d7a009 commit 512ba81

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

.github/dependabot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,8 @@ updates:
44
directory: /
55
schedule:
66
interval: daily
7+
8+
- package-ecosystem: npm
9+
directory: /
10+
schedule:
11+
interval: daily

.github/workflows/codeql.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
schedule:
1010
- cron: '33 1 * * 2' # Run at 1:33 on Tuesdays
1111

12+
permissions:
13+
contents: read
14+
1215
jobs:
1316
analyze:
1417
name: Analyze (${{ matrix.language }})

.pre-commit-config.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
repos:
2+
- repo: https://github.com/gitleaks/gitleaks
3+
rev: v8.16.3
4+
hooks:
5+
- id: gitleaks
6+
- repo: https://github.com/pocc/pre-commit-hooks
7+
rev: v1.3.5
8+
hooks:
9+
- id: cpplint
10+
- repo: https://github.com/pre-commit/pre-commit-hooks
11+
rev: v4.4.0
12+
hooks:
13+
- id: end-of-file-fixer
14+
- id: trailing-whitespace

0 commit comments

Comments
 (0)