Skip to content

build(deps): bump actions/checkout from 6 to 7 #5

build(deps): bump actions/checkout from 6 to 7

build(deps): bump actions/checkout from 6 to 7 #5

Workflow file for this run

name: Semgrep
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '17 4 * * 1'
permissions:
contents: read
security-events: write
jobs:
semgrep:
name: PHP security scan
runs-on: ubuntu-latest
container:
image: semgrep/semgrep
if: github.actor != 'dependabot[bot]'
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Run Semgrep
run: |
semgrep scan \
--config=p/php \
--config=p/security-audit \
--config=p/owasp-top-ten \
--sarif --output=semgrep.sarif \
--error || true
- name: Upload findings to Code Scanning
uses: github/codeql-action/upload-sarif@v4
if: always()
with:
sarif_file: semgrep.sarif
category: semgrep