Created
May 25, 2023 07:08
-
-
Save KristianI/5e538e37c53ec2ed4ca43fc5df729260 to your computer and use it in GitHub Desktop.
GitHub workflow for Snyk
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: Snyk | |
on: | |
push: | |
branches: [develop] | |
pull_request: | |
types: [ opened, reopened, synchronize, ready_for_review ] | |
# Allows us to run workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
security: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Snyk Code check | |
uses: snyk/actions/php@master | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
with: | |
command: code test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment