Each time that new code is pushed into your repo, you can have a safety command automatically run.
Example workflow:
- Put the following text into a file named
.github/main.workflow
in your repo):
workflow "on push" {
on = "push"
resolves = ["GitHub Action for pyup Safety"]
}
action "GitHub Action for pyup Safety" {
uses = "cclauss/GitHub-Action-for-pyup-Safety-CI@master"
args = "safety check --full-report"
}
Or to add other safety options to args = above.