yeongseon/Azure Functions Doctor
Run azure-functions-doctor diagnostics on an Azure Functions Python v2 project. Checks project health, outputs structured reports, and optionally uploads SARIF to GitHub Code Scanning.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | Path to the Azure Functions project directory | no | . |
| profile | Rule profile: 'minimal' (required checks only) or 'full' (all checks) | no | minimal |
| format | Output format: 'json', 'sarif', 'junit', or 'table' | no | json |
| output | Path to save the report file | no | doctor-report.json |
| python-version | Python version to use for running the doctor | no | 3.12 |
| install-project-deps | Install project requirements.txt before running checks | no | false |
| upload-artifact | Upload the report as a GitHub Actions artifact | no | true |
| artifact-name | Name of the uploaded artifact | no | doctor-report |
| upload-sarif | Upload SARIF report to GitHub Code Scanning (requires format=sarif and security-events:write permission) | no | false |
| sarif-category | Category label for the SARIF upload | no | azure-functions-doctor |
| fail-on-warn | Exit with code 1 if any warnings are found (in addition to failures) | no | false |
| version | Version of azure-functions-doctor to install (e.g. '0.15.1' or 'latest') | no | latest |
Outputs
| name | description |
|---|---|
| exit-code | Exit code from the doctor run (0 = pass, 1 = failures found) |
| report-path | Absolute path to the generated report file |
| failed-count | Number of failed checks |
| warned-count | Number of warned checks |
| passed-count | Number of passed checks |