Skip to content

Commit 60bda30

Browse files
committed
Restored the Github token secret but using a different secret name
1 parent 197596b commit 60bda30

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
@@ -112,4 +114,4 @@ jobs:
112114
with:
113115
temp_branch_prefix: 'ci-layer-docs'
114116
pull_request_title: 'chore(ci): update layer ARN on documentation'
115-
github_token: ${{ secrets.GITHUB_TOKEN }}
117+
github_token: ${{ secrets.TOKEN }}

0 commit comments

Comments
 (0)