Slack, Microsoft Teams, webhooks and the GitHub Action
Send alerts to Slack, Teams or any HTTPS endpoint, and run the stack check on every pull request with the GitHub Action.
Slack and Teams
Create an incoming webhook in Slack, or a workflow webhook in Microsoft Teams, and paste its address under Integrations. Use Send test to check it.
Webhooks
Any public HTTPS endpoint receives JSON. Each request carries X-Patchminder-Signature: t=<unix time>,v1=<hex>: an HMAC-SHA256 of t + "." + body with your signing secret. Refuse requests older than five minutes.
GitHub Action
Create an API key, store it as the secret PATCHMINDER_API_KEY, then add this workflow file:
# .github/workflows/patchminder.yml
name: Patchminder
on: [push, pull_request]
permissions: { contents: read, pull-requests: write }
jobs:
patchminder:
runs-on: ubuntu-latest
steps:
[{ uses: actions/checkout@v4 },
{ uses: smdl99/Patchminder/action@main,
with: { api-key: "${{ secrets.PATCHMINDER_API_KEY }}", fail-on: exploited } }]
fail-on can also be critical, any or never.
The action checks lock files, comments on pull requests and fails the build when something exploited is found. Every run appears under Stack checks.