Skip to content

Snyk

Snyk #4

Workflow file for this run

name: "Snyk"
on:
workflow_run:
workflows: ["Pull Request Changes"]
types:
- completed
permissions: {}
jobs:
snyk:
name: "Scan"
runs-on: ubuntu-latest
steps:
- uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # [email protected]
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@b98d498629f1c368650224d6d212bf7dfa89e4bf # [email protected]
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}