security.txt checks #1082
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: security.txt checks | |
on: | |
schedule: | |
- cron: '37 13 * * *' | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
securitytxt: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php-version: | |
- "8.3" | |
- "8.4" | |
host: | |
- www.michalspacek.cz | |
- www.michalspacek.com | |
- upcwifikeys.com | |
steps: | |
- uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # 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 |