From 322c63b534178ae935b32b224c8485be53f3998a Mon Sep 17 00:00:00 2001 From: Jens-Otto Larsen <46576810+jolarsen@users.noreply.github.com> Date: Mon, 6 Mar 2023 16:29:43 +0100 Subject: [PATCH] Fjerne snyk bibliotek (#426) --- .github/workflows/snyk.yml | 40 -------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 .github/workflows/snyk.yml diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml deleted file mode 100644 index 0531c30a..00000000 --- a/.github/workflows/snyk.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Snyk vulnerabilities scanning of dependencies -on: - schedule: - - cron: '0 0 * * *' - workflow_dispatch: - -jobs: - snyk: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-java@v3 - with: - java-version: 17 - distribution: temurin - cache: maven - - - uses: snyk/actions/setup@master - - - name: Setup maven - uses: whelk-io/maven-settings-xml-action@v21 - with: - repositories: '[{ "id": "github", "name": "github", "url": "https://maven.pkg.github.com/${{ github.repository }}", "releases": { "enabled": "true" }, "snapshots": { "enabled": "false" } }]' - servers: '[{ "id": "github", "username": "${{ github.actor }}", "password": "${{ secrets.GITHUB_TOKEN }}" }]' - output_file: settings.xml - - - name: Run install - run: mvn clean install -B -s settings.xml -DskipTests - - - name: Run Snyk monitor - run: > - snyk monitor - --org=teamforeldrepenger - --all-projects - --configuration-attributes=usage:java-runtime - --remote-repo-url=https://github.com/${{ github.repository }}.git - -- -s settings.xml - env: - SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}