pyupio/pyupio/safety

Runs the Safety CLI dependency scanner against your project

View on GitHub

Trust Signals

Scorecard Score
Scorecard 4–6scored Jul 6, 2026
Maintenance Recency
Activelast commit May 27, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: pyupio/safety@ec3368a4f8239249088b77794d414526112e6aac # 3.8.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
api-keyPyUp.io API keyno""
create-prCreate a PR if Safety finds any vulnerabilities. Only the `file` scan mode is currently supported - combine with Cron based actions to get automatic notifications of new vulnerabilities.no""
create-issueCreate an issue if Safety finds any vulnerabilities. Only the `file` scan mode is currently supported - combine with Cron based actions to get automatic notifications of new vulnerabilities.no""
scanScan mode to use. One of auto / docker / env / file (defaults to auto)noauto
docker-imageTag or hash of the Docker Image to scan (defaults to autodetecting the last built tagged image)no""
requirementsPath of requirements file to scan (defaults to poetry.lock -> Pipfile.lock -> requirements.txt)no""
continue-on-errorBy default, Safety will exit with a non-zero exit code if it detects any vulnerabilities. Set this to yes / true to not error out.no""
output-formatOutput format for returned data. One of screen / text / json / bare (defaults to screen)noscreen
args[Advanced] Any additional arguments to pass to Safetyno""
repo-tokenno""
namedescription
cli-outputCLI output from Safety
exit-codeExit code from Safety