Skip to content

security.txt checks #622

security.txt checks

security.txt checks #622

Workflow file for this run

name: security.txt checks
on:
schedule:
- cron: '37 13 * * *'
workflow_dispatch:
jobs:
securitytxt:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version:
- "8.2"
host:
- www.michalspacek.cz
- www.michalspacek.com
- upcwifikeys.com
steps:
- uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: ${{ matrix.php-version }}
extensions: gnupg
- name: Install the checker
run: composer require spaze/security-txt:dev-main
- name: Check security.txt at ${{ matrix.host }}
run: |
php \
vendor/spaze/security-txt/bin/checksecuritytxt.php \
${{ matrix.host }} \
10 \
--colors \
--no-ipv6 \
--strict