adernild/Python QA Report
Parse pytest, bandit, and ruff outputs and post a summary comment on pull requests
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token for posting comments | yes | ${{ github.token }} |
| pytest-results | Path to pytest JSON results file | no | "" |
| bandit-results | Path to bandit JSON results file | no | "" |
| ruff-results | Path to ruff JSON results file | no | "" |
| fail-on-errors | Fail the action if any errors are found | no | false |
| update-comment | Update existing comment instead of creating new ones | no | true |
Outputs
| name | description |
|---|---|
| comment-id | ID of the comment that was created or updated |
| has-errors | Whether any errors were found |
| pytest-passed | Number of pytest tests that passed |
| pytest-failed | Number of pytest tests that failed |
| bandit-issues | Number of bandit security issues found |
| ruff-issues | Number of ruff linting issues found |