From 66f62d712c3b3bf5fac8eeedd38a6e3859a55404 Mon Sep 17 00:00:00 2001 From: Jarl Gullberg Date: Sun, 31 Mar 2024 13:47:30 +0200 Subject: [PATCH] Explicitly specify SARIF format and output path. --- .github/workflows/dotnet.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index e3daa7a..621850e 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -36,6 +36,8 @@ jobs: solution: Remora.Rest.sln no-build: true telemetry-optout: true + output: results.sarif.json + format: sarif - name: Package if: github.ref == 'refs/heads/main' && github.event_name == 'push' @@ -44,6 +46,8 @@ jobs: with: name: nupkg path: nuget/* + permissions: + security-events: write prerelease: needs: build if: github.ref == 'refs/heads/main' && github.event_name == 'push'