Damdit for GitHub Actions
Audit after every deploy. Fail only on what is new.
A gate that fails on every existing issue gets switched off within a week. Damdit CLI keeps the last run as a baseline, so the job fails when an issue is new or came back, and stays green when nothing got worse.
List your websites
damdit.yml
sites:
- name: production
url: https://example.com
failOn: [new, reappeared]
reports: [client.pdf, developer.html]The whole workflow and what fails the job are below.
Set it up
Three steps, then run the workflow once by hand.
Check that it worked
Run the workflow from the Actions tab. The job’s log ends with each website’s score, coverage and what changed since the run before.
Save the key as a secret
Create a key on your Damdit account page and save it as the repository secret DAMDIT_CI_KEY.
List your websites
damdit.yml in the repository names the websites, what fails the job and which reports to write.
damdit.yml
sites: - name: production url: https://example.com failOn: [new, reappeared] reports: [client.pdf, developer.html]Add the workflow
The cache keeps each website’s last run, which is the baseline of the next one.
.github/workflows/damdit.yml
name: Damdit on: schedule: [{ cron: "0 6 * * 1" }] # every Monday at 06:00 UTC workflow_dispatch: jobs: audit: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/cache@v4 with: path: damdit-state key: damdit-${{ github.run_id }} restore-keys: damdit- - run: docker run --rm -e DAMDIT_CI_KEY -v "$PWD:/work" damdit/damdit:27 ci run env: DAMDIT_CI_KEY: ${{ secrets.DAMDIT_CI_KEY }} - uses: actions/upload-artifact@v4 if: always() with: name: damdit-reports path: damdit-state/*/reports/
Good to know
Before you rely on it
- Each audit loads the website like a visitor. A firewall or bot protection may block the runner’s addresses; damdit.com/bot says what to allow.
- An audit of a large website can take 10 to 30 minutes. Give the job enough time.
- Keys and passwords of locked websites come from secrets as environment variables, never from damdit.yml.
- Any CI that can start a Docker container with a mounted folder works the same way.
- The log says that Chromium runs without its sandbox on a hosted runner, and how to turn the sandbox on with Damdit’s seccomp profile. The audit works either way.
- Damdit reads websites. It never edits or publishes one; your agent changes your code.
- A fix is verified only when a newer audit shows the issue as Resolved.
Does a key in CI take a place in my licence?
Yes. An active key is one of the licence’s two installations.
Does the audited website leave my machine?
Not to Damdit. Pages are rendered where Damdit CLI runs, and audits stay in its data folder. What your agent reads from Damdit, it handles under its own provider’s terms.
Do I need Damdit for Mac as well?
No. Damdit CLI works alone. If you have the app, its own damdit command and MCP server give the agent the audits saved in the app.
What does it cost?
Damdit CLI is part of the Damdit licence: one payment with a year of updates, and two installations at a time in any combination of the app and CLI keys. The trial includes it.
Other integrations
Know what needs fixing. Prove what changed.
7 days free, no card. One licence for the app and the CLI.