Skip to content

Commit 2fb1d5e

Browse files
committed
Restored the Github token secret but using a different secret name
1 parent 7fdfedf commit 2fb1d5e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/make-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ jobs:
9494
secrets:
9595
AWS_LAYERS_BETA_ROLE_ARN: ${{ secrets.AWS_LAYERS_BETA_ROLE_ARN }}
9696
AWS_LAYERS_PROD_ROLE_ARN: ${{ secrets.AWS_LAYERS_PROD_ROLE_ARN }}
97+
TOKEN: ${{ secrets.GITHUB_TOKEN }}
9798
permissions:
9899
id-token: write
99100
contents: write

.github/workflows/publish_layer.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ on:
1818
description: "Role ARN for deploying the Layer to Beta"
1919
AWS_LAYERS_PROD_ROLE_ARN:
2020
description: "Role ARN for deploying the Layer to Prod"
21+
TOKEN:
22+
description: "GitHub Token to interact with GitHub"
2123
inputs:
2224
latest_published_version:
2325
type: string
@@ -122,4 +124,4 @@ jobs:
122124
with:
123125
temp_branch_prefix: 'ci-layer-docs'
124126
pull_request_title: 'chore(ci): update layer ARN on documentation'
125-
github_token: ${{ secrets.GITHUB_TOKEN }}
127+
github_token: ${{ secrets.TOKEN }}

0 commit comments

Comments
 (0)