Skip to content

Merge branch 'legacy' of github.com:iotaledger/hornet into develop-le… #2345

Merge branch 'legacy' of github.com:iotaledger/hornet into develop-le…

Merge branch 'legacy' of github.com:iotaledger/hornet into develop-le… #2345

name: Test Golang dependencies with Snyk
on:
push:
branches: [legacy, develop-legacy]
pull_request:
branches: [legacy, develop-legacy]
jobs:
security:
# Only run on push events or PRs from gohornet/hornet, skip on PRs from forks
# Secret variables cannot be exposed to PRs from forks
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/[email protected]
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --org=gohornet