Update common.pull-request.modified.yml #73
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: "CI" | |
# This workflow will run after a merge to the main branch from a pull request, and as a scheduled job. | |
on: | |
merge_group: | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: "30 0 1,15 * *" | |
permissions: | |
contents: read | |
jobs: | |
snyk: | |
name: "Snyk" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # [email protected] | |
with: | |
php-version: ${{ env.PHP_VERSION }} | |
coverage: none | |
extensions: mbstring | |
env: | |
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 }} |