Skip to content

Commit 7f3fbd6

Browse files
authored
Merge pull request #1523 from gardener/8R0WNI3-slack
fix: Define `slack-token` as `secrets` parameter
2 parents d2c3ba8 + 74ec48f commit 7f3fbd6

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/release.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ on:
2525
The secret-key for the `Gardener-GitHub-App` (`vars.GARDENER_GITHUB_ACTIONS_APP_ID`)
2626
If not passed (in which case calling workflows need to set `secrets: inherit`), defaults
2727
to `secrets.GARDENER_GITHUB_ACTIONS_PRIVATE_KEY`.
28+
slack-token:
29+
required: false
30+
description: |
31+
The auth-token to use to authenticate against slack. Only needed if `slack-channel-id` is
32+
passed. For convenience, defaults to `secrets.SLACK_APP_TOKEN_GARDENER_CICD` (calling
33+
workflows must set `secrets: inherit` for this to work.
2834
inputs:
2935
component-descriptor:
3036
required: false
@@ -94,13 +100,6 @@ on:
94100
Use `release-notes`-output if more control is desired.
95101
96102
Note: see `slack-token` for authentication options.
97-
slack-token:
98-
required: false
99-
type: string
100-
description: |
101-
The auth-token to use to authenticate against slack. Only needed if `slack-channel-id` is
102-
passed. For convenience, defaults to `secrets.SLACK_APP_TOKEN_GARDENER_CICD` (calling
103-
workflows must set `secrets: inherit` for this to work.
104103
github-release-notes-audiences:
105104
required: false
106105
type: string

0 commit comments

Comments
 (0)