We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cada71 commit 9148796Copy full SHA for 9148796
1 file changed
.github/workflows/create-github-release.yml
@@ -1,6 +1,13 @@
1
name: create-github-release
2
on:
3
workflow_call:
4
+ secrets:
5
+ SVC_CLI_BOT_GITHUB_TOKEN:
6
+ description: A Github PAT with repo write access.
7
+ required: true
8
+ CLI_ALERTS_SLACK_WEBHOOK:
9
+ description: Slack webhook for alerts.
10
+ required: false
11
inputs:
12
prerelease:
13
type: string
@@ -101,7 +108,7 @@ jobs:
101
108
102
109
- name: Announce if Github Release was skipped
103
110
id: slack
104
- if: ${{ steps.changelog.outputs.skipped == 'true' && github.actor != 'dependabot[bot]' }}
111
+ if: ${{ steps.changelog.outputs.skipped == 'true' && github.actor != 'dependabot[bot]' && secrets.CLI_ALERTS_SLACK_WEBHOOK != '' }}
105
112
uses: slackapi/slack-github-action@v1.26.0
106
113
env:
107
114
# for non-CLI-team-owned plugins, you can send this anywhere you like
0 commit comments