diff --git a/.github/workflows/snyk-container.yml b/.github/workflows/snyk-container.yml index 06f97ff..83dc0ab 100644 --- a/.github/workflows/snyk-container.yml +++ b/.github/workflows/snyk-container.yml @@ -11,7 +11,7 @@ jobs: 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: machine1 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Build a Docker image @@ -25,6 +25,6 @@ jobs: image: hellopradum/backend-wanderlust:latest args: --file=Dockerfile - name: Upload result to GitHub Code Scanning - uses: github/codeql-action/upload-sarif@v3 + uses: github/codeql-action/upload-sarif@v2 with: sarif_file: snyk.sarif