Security #665
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 | |
on: | |
schedule: | |
# Every day at 00:00:00 UTC. | |
# @see https://crontab.cronhub.io/ | |
- cron: "0 0 * * *" | |
workflow_dispatch: | |
jobs: | |
composer_audit: | |
name: "Composer Audit" | |
runs-on: macos-latest | |
steps: | |
- name: "Set up PHP" | |
uses: shivammathur/setup-php@v2 # https://github.com/marketplace/actions/setup-php-action | |
with: | |
php-version: "8.2" | |
- name: "Checkout code" | |
uses: actions/checkout@v4 # https://github.com/marketplace/actions/checkout | |
- name: "Install dependencies" | |
uses: ramsey/composer-install@v3 # https://github.com/marketplace/actions/install-composer-dependencies | |
- name: "Check for security vulnerability advisories for installed packages" | |
run: "composer audit" |