From 67635392ddb0d16f469177505a52d58892824166 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tommy=20Tr=C3=B8en?= Date: Thu, 15 Feb 2024 13:35:34 +0100 Subject: [PATCH] ci: add permissions write for dependency graph submission Co-authored-by: ybelmekk --- .github/workflows/build-master.yml | 1 + .../security/mock/oauth2/grant/AuthorizationCodeHandlerTest.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-master.yml b/.github/workflows/build-master.yml index a7d4e71c..3bdd0f94 100644 --- a/.github/workflows/build-master.yml +++ b/.github/workflows/build-master.yml @@ -12,6 +12,7 @@ jobs: build: permissions: packages: write + contents: write runs-on: ubuntu-latest steps: - name: Checkout latest code diff --git a/src/test/kotlin/no/nav/security/mock/oauth2/grant/AuthorizationCodeHandlerTest.kt b/src/test/kotlin/no/nav/security/mock/oauth2/grant/AuthorizationCodeHandlerTest.kt index 7748fd6d..03521374 100644 --- a/src/test/kotlin/no/nav/security/mock/oauth2/grant/AuthorizationCodeHandlerTest.kt +++ b/src/test/kotlin/no/nav/security/mock/oauth2/grant/AuthorizationCodeHandlerTest.kt @@ -132,7 +132,7 @@ internal class AuthorizationCodeHandlerTest { "client_id=client1&" + "client_secret=secret&" + "code=$code&" + - "redirect_uri=$redirectUri&" + "redirect_uri=$redirectUri&", ) } }