-
Notifications
You must be signed in to change notification settings - Fork 152
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 #430 from pyupio/main
Update from main branch
- Loading branch information
Showing
3 changed files
with
20 additions
and
2 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
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 |
---|---|---|
|
@@ -10,12 +10,21 @@ By default it uses the open Python vulnerability database [Safety DB](https://gi | |
|
||
For all commercial projects, Safely must be upgraded to use a [PyUp API](https://pyup.io) using the `--key` option. | ||
|
||
# Supported and Tested Python Versions | ||
|
||
Python: `3.6`, `3.7`, `3.8`, `3.9`, `3.10`, `3.11` | ||
|
||
Safety supports the above versions but only is tested in the latest patch version available at [Python for Actions | ||
](https://github.com/actions/python-versions/blob/main/versions-manifest.json). For instance, in Python `3.6` we only will test with `3.6.15`, which is the latest Python 3.6 version available on GitHub actions. | ||
|
||
Make sure to use the latest patch available for your Python version. | ||
|
||
# Using Safety as a GitHub Action | ||
|
||
Safety can be integrated into your existing GitHub CI pipeline as an action. Just add the following as a step in your workflow YAML file after setting your `SAFETY_API_KEY` secret on GitHub under Settings -> Secrets -> Actions: | ||
|
||
```yaml | ||
- uses: pyupio/[email protected].1 | ||
- uses: pyupio/[email protected].2 | ||
with: | ||
api-key: ${{ secrets.SAFETY_API_KEY }} | ||
``` | ||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
2.3.2.dev | ||
2.3.2 |