Skip to content

Commit a9d8052

Browse files
ci: change how to pass secrets
Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
1 parent 2ca2369 commit a9d8052

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/release-bump-modules.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ on:
1313
modulePath: { type: string, required: true }
1414
version: { type: string, required: true }
1515
goModDirectoryPath: { type: string, required: false, default: "." }
16-
token: { type: string, required: true }
16+
secrets:
17+
token: { required: true }
1718

1819
jobs:
1920
bump-module:
@@ -59,4 +60,4 @@ jobs:
5960
delete-branch: true
6061
base: main
6162
labels: automerge
62-
token: ${{ inputs.token }}
63+
token: ${{ secrets.token }}

.github/workflows/release-please.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
with:
4040
modulePath: modules/evaluation
4141
version: ${{ needs.release-please.outputs.module_evaluation_version }}
42+
secrets:
4243
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
4344

4445
bump-module-core:
@@ -48,6 +49,7 @@ jobs:
4849
with:
4950
modulePath: modules/core
5051
version: ${{ needs.release-please.outputs.module_core_version }}
52+
secrets:
5153
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
5254

5355
bump-module-core-dependency-for-evaluation:
@@ -58,6 +60,7 @@ jobs:
5860
modulePath: modules/core
5961
version: ${{ needs.release-please.outputs.module_core_version }}
6062
goModDirectoryPath: modules/evaluation
63+
secrets:
6164
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
6265

6366
python-provider-release:

0 commit comments

Comments
 (0)