From 471162397355d03ee2340e4446828d0fe35ddfba Mon Sep 17 00:00:00 2001 From: Nick Triantafillou Date: Mon, 26 Aug 2024 11:16:46 +1000 Subject: [PATCH 1/5] Fix token length which now appears to be above 600 --- template.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template.yaml b/template.yaml index 191e940..3268581 100644 --- a/template.yaml +++ b/template.yaml @@ -155,7 +155,7 @@ Parameters: Description: | AWS IAM Identity Center - SCIM AccessToken Default: "" - AllowedPattern: '(?!.*\s)|([0-9a-zA-Z/=+-\\]{500,600})' + AllowedPattern: '(?!.*\s)|([0-9a-zA-Z/=+-\\]{500,620})' NoEcho: true Region: From 5ca8f04430742e13245a0d1c9bd90a1db7eb2ecb Mon Sep 17 00:00:00 2001 From: Chris Pates Date: Wed, 28 Aug 2024 12:06:09 +0100 Subject: [PATCH 2/5] Update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c86bb09..edfd75d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: go-version: '1.20.x' - name: Install staticcheck - run: go install honnef.co/go/tools/cmd/staticcheck@latest + run: go install honnef.co/go/tools/cmd/staticcheck@v0.5 - name: Run staticcheck run: staticcheck ./... From a6998a094c8659094a97d4cb50dbe23adfb37f1d Mon Sep 17 00:00:00 2001 From: Chris Pates Date: Wed, 28 Aug 2024 12:08:57 +0100 Subject: [PATCH 3/5] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0c5716c..953ee40 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,7 +24,7 @@ jobs: go-version: '1.20.x' - name: Install staticcheck - run: go install honnef.co/go/tools/cmd/staticcheck@latest + run: go install honnef.co/go/tools/cmd/staticcheck@v0.5 - name: Run staticcheck run: staticcheck ./... From 7d767ed513ea48652a2ba42e51a7c8493b05d216 Mon Sep 17 00:00:00 2001 From: Chris Pates Date: Wed, 28 Aug 2024 12:11:55 +0100 Subject: [PATCH 4/5] fixing github workflow failures --- .github/workflows/main.yml | 6 +++--- .github/workflows/release.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 953ee40..0fd2ed8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,12 +19,12 @@ jobs: uses: actions/checkout@v3 - name: Setup go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: '1.20.x' + go-version: '1.23.x' - name: Install staticcheck - run: go install honnef.co/go/tools/cmd/staticcheck@v0.5 + run: go install honnef.co/go/tools/cmd/staticcheck@latest - name: Run staticcheck run: staticcheck ./... diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index edfd75d..9a409b4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,10 +16,10 @@ jobs: - name: Setup go uses: actions/setup-go@v5 with: - go-version: '1.20.x' + go-version: '1.23.x' - name: Install staticcheck - run: go install honnef.co/go/tools/cmd/staticcheck@v0.5 + run: go install honnef.co/go/tools/cmd/staticcheck@latest - name: Run staticcheck run: staticcheck ./... From abc0696d687dc055bbb62a66be6abe8bcf4cc007 Mon Sep 17 00:00:00 2001 From: Chris Pates Date: Wed, 28 Aug 2024 12:24:41 +0100 Subject: [PATCH 5/5] Addressing staticcheck feedback --- internal/sync_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/sync_test.go b/internal/sync_test.go index f76e32f..63560bb 100644 --- a/internal/sync_test.go +++ b/internal/sync_test.go @@ -37,7 +37,7 @@ import ( func toJSON(stc interface{}) []byte { JSON, err := json.MarshalIndent(stc, "", " ") if err != nil { - log.Fatalf(err.Error()) + log.Fatal(err) } return JSON }