|
|
|
@ -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: |
|
|
|
@ -26,6 +30,14 @@ jobs: |
|
|
|
with: |
|
|
|
with: |
|
|
|
version: ${{ inputs.version_number_override }} |
|
|
|
version: ${{ inputs.version_number_override }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Slack Notification Check |
|
|
|
|
|
|
|
run: | |
|
|
|
|
|
|
|
if [[ "${{ inputs.enable_slack_notification }}" == true ]]; then |
|
|
|
|
|
|
|
echo "Slack notifications enabled." |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
echo "Slack notifications disabled." |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
- name: Checkout Branch |
|
|
|
- name: Checkout Branch |
|
|
|
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 |
|
|
|
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 |
|
|
|
with: |
|
|
|
with: |
|
|
|
@ -199,7 +211,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 }} |
|
|
|
|