From 50ef661195ba7a4122de0951dc393215ba8333e2 Mon Sep 17 00:00:00 2001 From: Andrea Amorosi Date: Fri, 26 Jan 2024 17:19:52 +0100 Subject: [PATCH] chore(ci): refactor workflows to scope permissions (#1978) --- .github/workflows/reusable_publish_docs.yml | 4 ---- docs/snippets/idempotency/samples/makeIdempotentJmes.json | 2 +- .../samples/workingWIthIdempotencyRequiredKeyError.json | 2 +- .../samples/workingWIthIdempotencyRequiredKeySuccess.json | 2 +- docs/snippets/idempotency/samples/workingWithBatch.json | 2 +- 5 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/reusable_publish_docs.yml b/.github/workflows/reusable_publish_docs.yml index ec32b9504d..542dc6ac48 100644 --- a/.github/workflows/reusable_publish_docs.yml +++ b/.github/workflows/reusable_publish_docs.yml @@ -66,10 +66,6 @@ jobs: - name: Install doc generation dependencies run: | pip install --require-hashes -r docs/requirements.txt - - name: Setup doc deploy - run: | - git config --global user.name Docs deploy - git config --global user.email aws-devax-open-source@amazon.com - name: Git refresh tip (detached mode) # Git Detached mode (release notes) doesn't have origin if: ${{ inputs.detached_mode }} diff --git a/docs/snippets/idempotency/samples/makeIdempotentJmes.json b/docs/snippets/idempotency/samples/makeIdempotentJmes.json index 9f608983da..158b3a874f 100644 --- a/docs/snippets/idempotency/samples/makeIdempotentJmes.json +++ b/docs/snippets/idempotency/samples/makeIdempotentJmes.json @@ -27,4 +27,4 @@ }, "body": "{\"user\":\"xyz\",\"productId\":\"123456789\"}", "isBase64Encoded": false -} \ No newline at end of file +} diff --git a/docs/snippets/idempotency/samples/workingWIthIdempotencyRequiredKeyError.json b/docs/snippets/idempotency/samples/workingWIthIdempotencyRequiredKeyError.json index a905b83e7a..14ca8067ae 100644 --- a/docs/snippets/idempotency/samples/workingWIthIdempotencyRequiredKeyError.json +++ b/docs/snippets/idempotency/samples/workingWIthIdempotencyRequiredKeyError.json @@ -4,4 +4,4 @@ "name": "foo", "productId": 10000 } -} \ No newline at end of file +} diff --git a/docs/snippets/idempotency/samples/workingWIthIdempotencyRequiredKeySuccess.json b/docs/snippets/idempotency/samples/workingWIthIdempotencyRequiredKeySuccess.json index e721b2c24c..ef9c932907 100644 --- a/docs/snippets/idempotency/samples/workingWIthIdempotencyRequiredKeySuccess.json +++ b/docs/snippets/idempotency/samples/workingWIthIdempotencyRequiredKeySuccess.json @@ -4,4 +4,4 @@ "name": "Foo" }, "productId": 10000 -} \ No newline at end of file +} diff --git a/docs/snippets/idempotency/samples/workingWithBatch.json b/docs/snippets/idempotency/samples/workingWithBatch.json index 44bd07a141..73a5029d61 100644 --- a/docs/snippets/idempotency/samples/workingWithBatch.json +++ b/docs/snippets/idempotency/samples/workingWithBatch.json @@ -23,4 +23,4 @@ "awsRegion": "us-east-2" } ] -} \ No newline at end of file +}