Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version up to 1.10.0 #636

Merged
merged 12 commits into from
Dec 19, 2024
Merged
3 changes: 1 addition & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,7 @@ jobs:
mv meta ${{ github.workspace }}/CredData/

- name: Set up Python 3.10
if: steps.cache-data.outputs.cache-hit != 'true'
uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566 # v3.1.4
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
with:
python-version: "3.10"

Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

# # # ml_config & ml_model integrity

- name: Check ml_model.onnx integrity
# # # integrity for train diagram match
- name: Check ml_config.json and ml_model.onnx integrity
if: ${{ always() && steps.code_checkout.conclusion == 'success' }}
run: |
md5sum --binary credsweeper/ml_model/ml_config.json | grep ec3ac77a923fed769fd95d567ef75137
md5sum --binary credsweeper/ml_model/ml_config.json | grep 092a588d5bebdac5136c4d01c87abf27
md5sum --binary credsweeper/ml_model/ml_model.onnx | grep a707745d781517556fd58890cb2812be

# # # line ending
Expand Down Expand Up @@ -224,4 +224,9 @@ jobs:
# check whether current version exists in the file
grep $V SECURITY.md

# # # from https://github.com/step-security-bot/CredSweeper/commit/dbc01f2709c56f69e2d8fd717156385f42b7bbf5

- name: Dependency Review
uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

| Version | Supported |
|---------|--------------------|
| 1.9.x | :white_check_mark: |
| <1.9.x | :x: |
| 1.10.x | :white_check_mark: |
| <1.10.x | :x: |

## Reporting a Vulnerability

Expand Down
2 changes: 1 addition & 1 deletion credsweeper/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
'__version__'
]

__version__ = "1.9.6"
__version__ = "1.10.0"
2 changes: 1 addition & 1 deletion credsweeper/ml_model/ml_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -411,4 +411,4 @@
}
}
]
}
}
2 changes: 1 addition & 1 deletion tests/data/depth_3.json
Original file line number Diff line number Diff line change
Expand Up @@ -13859,4 +13859,4 @@
}
]
}
]
]
2 changes: 1 addition & 1 deletion tests/data/doc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19486,4 +19486,4 @@
}
]
}
]
]
2 changes: 1 addition & 1 deletion tests/data/ml_threshold.json
Original file line number Diff line number Diff line change
Expand Up @@ -11424,4 +11424,4 @@
}
]
}
]
]
2 changes: 1 addition & 1 deletion tests/data/output.json
Original file line number Diff line number Diff line change
Expand Up @@ -10592,4 +10592,4 @@
}
]
}
]
]
Loading