Skip to content

build(deps-dev): bump phpstan/phpstan from 2.2.8 to 2.2.14 #14

build(deps-dev): bump phpstan/phpstan from 2.2.8 to 2.2.14

build(deps-dev): bump phpstan/phpstan from 2.2.8 to 2.2.14 #14

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@v6
- 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