GitHub Actions template repository for running network health checks with tower.
- Click Use this template → Create a new repository
- Edit
.github/workflows/tower-health.ymlwith your targets - Commit — checks run on schedule and on push
| Workflow | Schedule | Checks |
|---|---|---|
tower-health.yml |
Every 6 hours | TCP, HTTP, HTTPS (no warn), DNS |
tls-cert-expiry.yml |
Daily at 8am | HTTPS TLS cert validity |
The composite action doesn't expose warn_if_expiring directly. To get cert expiry warnings, create a config file and use the config input:
# .github/tower/checks.yml
checks:
- type: https
host: "example.com"
warn_if_expiring: 720h # warn if cert expires within 30 days# .github/workflows/health-check.yml
steps:
- uses: actions/checkout@v4 # needed to read the config file
- uses: mismatched/tower@master
with:
config: '.github/tower/checks.yml'The action fails if any check returns "OK": false or if a cert expiry warning is triggered.