Merge pull request #56 from jonathannewman/maint/main/avoid-unexpecte… #17
  
    
      This file contains hidden or 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 Scan | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| security: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Connect to Twingate | |
| uses: twingate/github-action@v1 | |
| with: | |
| service-key: ${{ secrets.TWINGATE_KEY }} | |
| - name: Checkout the main branch | |
| uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 1 | |
| persist-credentials: false | |
| - name: Snyk Node Scan | |
| uses: snyk/actions/node@master | |
| env: | |
| SNYK_TOKEN: ${{ secrets.SNYK_PE_TOKEN }} | |
| with: | |
| command: monitor | |
| args: --file=package-lock.json --org=puppet-enterprise --project-name=ivy-tabs |