Skip to content

Snyk

Snyk #3

Workflow file for this run

name: "Snyk"
on:
workflow_run:
workflows: ["Pull Request Changes"]
types:
- completed
permissions: {}
defaults:
run:
working-directory: app
jobs:
snyk:
name: "Scan"
runs-on: ubuntu-latest
steps:
- uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
coverage: none
extensions: mbstring
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- run: composer install --no-progress
- uses: snyk/actions/php@master
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}