GitHub Actions

Check HSTS and TLS after a GitHub Actions deploy

Run two checks on the website your deployment just put live. GitHub shows the HSTS and TLS certificate outcomes. The private RemedyProof comparison shows what each check observed before and after the deploy.

Prepare the site and repository

  • For a site you operate, verify DNS, enable monitoring and open CI release checks from its site response desk. The workflow requires active monitoring access.
  • If a baseline is missing, choose Collect both baselines and wait until both baselines show Ready. One monitoring check can observe both rules.
  • Create the site’s CI credential and save it as a GitHub Actions repository secret named REMEDYPROOF_CI_TOKEN. The credential is limited to that site and its current DNS authorization. Replace it if it expires or you revoke it.
  • Save the downloaded file at .github/workflows/site-release-checks.yml in the same repository as your deployment workflow.

Add the checks after your deploy job

Add this job under jobs in your existing workflow. Replace deploy with the job ID that puts the target release live on the authorized hostname.

Caller job to add under jobs

  remedyproof:
    needs: deploy
    uses: ./.github/workflows/site-release-checks.yml
    with:
      deployment_id: ${{ github.run_id }}
    secrets:
      REMEDYPROOF_CI_TOKEN: ${{ secrets.REMEDYPROOF_CI_TOKEN }}

Use github.run_id when retrying a run refers to the same deployment. If your deploy job can publish a different release on a retry, pass the deployment system’s stable release ID instead. The same deployment ID reuses both saved checks.

Open Summary in GitHub Actions to see both results and the private comparison link. Results can stay pending after the 70-second wait. Once they finish, retry the same deployment ID to read the saved pair.

If a completed check fails, open its dated comparison, fix the issue and verify the repaired deployment with a new ID. The old ID still reads the original evidence.

Require passing checks before a later promotion

The example reports both check outcomes by default. A rejected submission or result read still fails the job. If your workflow promotes the deployment in a separate job, add require_passing_checks: true under with in the remedyproof job. Make the existing promotion job depend on remedyproof alongside its other dependencies and keep the normal success condition.

Both HSTS and TLS must reach Pass or Recovered for the promotion gate to pass. A verified regression fails the gate. Pending or unavailable results also block promotion unless both passing results are available by the end of the wait.

What a real regression and recovery looked like

On 19 November 2026, an owned staging deployment changed the HSTS configuration. Its GitHub Actions run used dedicated test runners. All three observations below are UTC and refer to the same hostname and HSTS rule.

  • 11:22:10 UTC · Baseline passed.
  • 11:23:09 UTC · HSTS failed after the change. TLS passed and the downstream promotion job skipped. Retrying that deployment added zero checks.
  • 11:24:55 UTC · HSTS recovered after restoring the original configuration under a new deployment ID. The new comparison used the exact failed observation as its baseline. TLS passed and the staging promotion job ran once.

Each comparison is a point-in-time record of one rule on the authorized hostname. The free Public Snapshot does not start recurring monitoring.