-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from anevis/chore/add-sonarcloud
Security Related update
- Loading branch information
Showing
8 changed files
with
72 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,15 @@ name: CD Pipeline | |
run-name: CD 📦🚀 | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_run: | ||
workflows: ["CI Pipeline"] | ||
types: [completed] | ||
branches: | ||
- "main" | ||
paths: | ||
- "src/**" | ||
- "requirements.txt" | ||
- "LICENSE" | ||
|
||
jobs: | ||
CD: | ||
|
@@ -21,10 +27,6 @@ jobs: | |
uses: jetpack-io/[email protected] | ||
- name: Install all dependencies 📦 | ||
run: devbox run install | ||
- name: 🧹 Linting & Formatting | ||
run: devbox run lint && devbox run format | ||
- name: 🧪 Running Tests | ||
run: devbox run test | ||
- name: 📦 Package | ||
run: devbox run build | ||
- name: 🚀 Publish to PyPI | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Security Policy | ||
|
||
We take the security of our software seriously. If you believe you've found a security issue in this package, we | ||
encourage you to notify us. We welcome working with you to resolve the issue promptly. | ||
|
||
## Supported Versions | ||
|
||
We recommend you to use the latest version of the package. We release patches for security vulnerabilities for the | ||
following versions: | ||
|
||
| Version | Supported | | ||
|---------|--------------------| | ||
| 0.1.x | :white_check_mark: | | ||
|
||
## Reporting a Vulnerability | ||
|
||
If you discover a security vulnerability within this package, please contact us by sending an email | ||
to [[email protected]](mailto:[email protected]). All security vulnerabilities will be promptly addressed. | ||
|
||
When reporting a security issue, please provide the following information: | ||
|
||
- Your name and affiliation (if any). | ||
- An e-mail address for further discussion. | ||
- Whether you would like to be credited for your discovery. | ||
- If you are not the original discoverer of the vulnerability, please provide contact details of the original | ||
discoverer. | ||
- A description of the technical details of the vulnerabilities. It is very important to let us know how we can | ||
reproduce the vulnerability. | ||
- The versions affected. | ||
- If possible, please provide a proof-of-concept. | ||
- Any configuration information that is important in reproducing the issue. | ||
- The CVSS score for the vulnerability. | ||
- Please do not disclose the vulnerability to the public until we have addressed it. | ||
|
||
**Please do not report specifics of security vulnerabilities through public GitHub issues, discussions, or pull | ||
requests.** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
sonar.projectKey=anevis_yaml-to-markdown | ||
sonar.organization=anevis | ||
|
||
# This is the name and version displayed in the SonarCloud UI. | ||
sonar.projectName=yaml-to-markdown | ||
#sonar.projectVersion=1.0 | ||
|
||
sonar.sources=src/ | ||
sonar.coverage.exclusions=./.pytest_cache/**,**_test.py,**.xml,**.yaml,**.yml | ||
sonar.python.coverage.reportPaths=coverage.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters