Commit 803ccda 1 parent fde8bfb commit 803ccda Copy full SHA for 803ccda
File tree 3 files changed +37
-10
lines changed
3 files changed +37
-10
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
13
13
steps :
14
- - uses : actions/checkout@v3
14
+ - uses : actions/checkout@v4
15
15
16
16
- name : Set up Python 3.11
17
- uses : actions/setup-python@v4
17
+ uses : actions/setup-python@v5
18
18
with :
19
19
python-version : " 3.11"
20
20
cache : ' pip'
29
29
make test-coverage
30
30
31
31
- name : Upload test results
32
- uses : actions/upload-artifact@v3
32
+ uses : actions/upload-artifact@v4
33
33
with :
34
34
name : test-results
35
35
path : |
39
39
performance-results/
40
40
41
41
- name : Upload coverage to Codecov
42
- uses : codecov/codecov-action@v3
42
+ uses : codecov/codecov-action@v4
43
43
with :
44
44
file : ./coverage.xml
45
45
fail_ci_if_error : true
@@ -49,10 +49,10 @@ jobs:
49
49
needs : test
50
50
51
51
steps :
52
- - uses : actions/checkout@v3
52
+ - uses : actions/checkout@v4
53
53
54
54
- name : Set up Python 3.11
55
- uses : actions/setup-python@v4
55
+ uses : actions/setup-python@v5
56
56
with :
57
57
python-version : " 3.11"
58
58
cache : ' pip'
67
67
make test-distributed
68
68
69
69
- name : Upload distributed test results
70
- uses : actions/upload-artifact@v3
70
+ uses : actions/upload-artifact@v4
71
71
with :
72
72
name : distributed-test-results
73
73
path : distributed-test-results/
Original file line number Diff line number Diff line change @@ -13,18 +13,18 @@ jobs:
13
13
14
14
steps :
15
15
- name : Checkout
16
- uses : actions/checkout@v3
16
+ uses : actions/checkout@v4
17
17
with :
18
18
fetch-depth : 1
19
19
20
20
- name : Set up Python 3.11
21
- uses : actions/setup-python@v4
21
+ uses : actions/setup-python@v5
22
22
with :
23
23
python-version : " 3.11"
24
24
cache : " pip"
25
25
26
26
- name : Cache Trunk
27
- uses : actions/cache@v3
27
+ uses : actions/cache@v4
28
28
with :
29
29
path : ~/.cache/trunk
30
30
key : trunk-${{ runner.os }}-${{ hashFiles('.trunk/trunk.yaml') }}
Original file line number Diff line number Diff line change @@ -316,3 +316,30 @@ For security concerns, contact:
316
316
- Emergency Contact: [ INSERT EMERGENCY CONTACT]
317
317
318
318
Remember: Security is everyone's responsibility. Stay vigilant and report any concerns promptly.
319
+
320
+ # Security Guide
321
+
322
+ ## Automated Security Checks
323
+
324
+ We use several automated tools to ensure code security:
325
+
326
+ ### Trunk Security Scanning
327
+
328
+ Our Trunk configuration includes security-focused tools:
329
+
330
+ - ** trufflehog** : Scans for secrets and sensitive data
331
+ - Runs on all PRs and pushes
332
+ - Ignores test files and documentation
333
+ - Configured to detect various token formats
334
+
335
+ - ** bandit** : Python security linter
336
+ - Checks for common security issues
337
+ - Custom rules for our codebase
338
+ - Integrated with CI/CD
339
+
340
+ - ** git-diff-check** : Prevents accidental commits of sensitive data
341
+ - Runs pre-commit
342
+ - Checks for large binary files
343
+ - Validates line endings
344
+
345
+ See [ .trunk/README.md] ( ../.trunk/README.md ) for security tool configuration.
You can’t perform that action at this time.
0 commit comments