Docs: Fix constant/function assignment in WP example #976
Workflow file for this run
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: | |
push: | |
branches: [ main ] | |
pull_request: ~ | |
release: | |
types: [ created ] | |
schedule: | |
# Do not make it the first of the month and/or midnight since it is a very busy time | |
- cron: "* 10 5 * *" | |
# See https://stackoverflow.com/a/72408109 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
security: | |
runs-on: ubuntu-latest | |
name: Check Dependencies | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Cache the vulnerability database | |
uses: actions/cache@v4 | |
id: cache-db | |
with: | |
path: ~/.symfony/cache | |
key: db | |
- name: Checks dependencies for known vulnerabilities | |
uses: symfonycorp/security-checker-action@v5 |