From 66db2abbdb3f6121bbc2af84cf6fd14836268740 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20H=C3=A4ussler?= Date: Mon, 3 Feb 2025 10:21:51 +0100 Subject: [PATCH] Update snyk-container.yml --- .github/workflows/snyk-container.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/snyk-container.yml b/.github/workflows/snyk-container.yml index 142d4b8..bb0dc56 100644 --- a/.github/workflows/snyk-container.yml +++ b/.github/workflows/snyk-container.yml @@ -20,7 +20,7 @@ on: # The branches below must be a subset of the branches above branches: [ "main" ] schedule: - - cron: '21 8 * * 1' + - cron: '16 14 * * 0' permissions: contents: read @@ -30,9 +30,10 @@ jobs: permissions: contents: read # for actions/checkout to fetch code security-events: write # for github/codeql-action/upload-sarif to upload SARIF results + actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build a Docker image run: docker build -t cniweb/srbminer-multi . - name: Run Snyk to check Docker image for vulnerabilities @@ -49,6 +50,6 @@ jobs: image: cniweb/srbminer-multi args: --file=Dockerfile - name: Upload result to GitHub Code Scanning - uses: github/codeql-action/upload-sarif@v2 + uses: github/codeql-action/upload-sarif@v3 with: sarif_file: snyk.sarif