Official GitHub Action for sending pull-request infrastructure changes to a DeployWhisper API endpoint.
This directory is intentionally shaped like the future root of a dedicated public Marketplace repository:
- root
action.yml - self-contained Python stdlib runtime
- no
.github/workflows/directory
name: DeployWhisper
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
pull-requests: write
jobs:
deploywhisper:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: deploywhisper/analyze-action@v1
with:
api-url: ${{ secrets.DEPLOYWHISPER_API_URL }}Optional inputs:
api-tokenchanged-filesworking-directory
Outputs:
createdchanged-file-countsubmitted-artifact-countaccepted-artifact-countreport-idreport-linkseverityrecommendationshare-summary-jsonshare-summary-markdowncomment-idcomment-urlcomment-updatedskipped-files
- detects changed files from the pull-request diff
- filters to supported DeployWhisper artifacts locally before upload
- submits those artifacts to
POST /api/v1/analyses - posts a single markdown PR comment and updates that same comment on re-runs
- compares the latest report with the previous PR scan so the updated comment shows score and severity changes
- exits
0when analysis succeeds, regardless of risk verdict - uses only Python standard library modules inside the action runtime
See PUBLISHING.md for the exact GitHub-side steps to turn this directory into a public Marketplace action repository.