mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 00:22:50 -05:00
BRE-87 ADD: enable_slack_notification input to version-bump workflow
This commit is contained in:
6
.github/workflows/version-bump.yml
vendored
6
.github/workflows/version-bump.yml
vendored
@ -12,6 +12,10 @@ on:
|
|||||||
description: "Cut RC branch?"
|
description: "Cut RC branch?"
|
||||||
default: true
|
default: true
|
||||||
type: boolean
|
type: boolean
|
||||||
|
enable_slack_notification:
|
||||||
|
description: "Enable Slack notifications for upcoming release?"
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
bump_version:
|
bump_version:
|
||||||
@ -199,7 +203,7 @@ jobs:
|
|||||||
run: gh pr merge $PR_NUMBER --squash --auto --delete-branch
|
run: gh pr merge $PR_NUMBER --squash --auto --delete-branch
|
||||||
|
|
||||||
- name: Report upcoming release version to Slack
|
- name: Report upcoming release version to Slack
|
||||||
if: ${{ steps.version-changed.outputs.changes_to_commit == 'TRUE' }}
|
if: ${{ steps.version-changed.outputs.changes_to_commit == 'TRUE' }} && ${{ inputs.enable_slack_notification == true }}
|
||||||
uses: bitwarden/gh-actions/report-upcoming-release-version@main
|
uses: bitwarden/gh-actions/report-upcoming-release-version@main
|
||||||
with:
|
with:
|
||||||
version: ${{ steps.set-final-version-output.outputs.version }}
|
version: ${{ steps.set-final-version-output.outputs.version }}
|
||||||
|
Reference in New Issue
Block a user