mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-05 23:53:21 +00:00
Compare commits
2 Commits
jmccannon/
...
version_bu
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b9a2f525a6 | ||
|
|
3cc00b7493 |
48
.github/workflows/version-bump.yml
vendored
48
.github/workflows/version-bump.yml
vendored
@@ -8,10 +8,10 @@ on:
|
||||
description: "New version override (leave blank for automatic calculation, example: '2024.1.0')"
|
||||
required: false
|
||||
type: string
|
||||
enable_slack_notification:
|
||||
description: "Enable Slack notifications for upcoming release?"
|
||||
default: false
|
||||
type: boolean
|
||||
# enable_slack_notification:
|
||||
# description: "Enable Slack notifications for upcoming release?"
|
||||
# default: false
|
||||
# type: boolean
|
||||
|
||||
jobs:
|
||||
bump_version:
|
||||
@@ -26,13 +26,13 @@ jobs:
|
||||
with:
|
||||
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: Slack Notification Check
|
||||
# run: |
|
||||
# if [[ "${{ inputs.enable_slack_notification }}" == true ]]; then
|
||||
# echo "Slack notifications enabled."
|
||||
# else
|
||||
# echo "Slack notifications disabled."
|
||||
# fi
|
||||
|
||||
- name: Checkout Branch
|
||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||
@@ -189,17 +189,17 @@ jobs:
|
||||
PR_NUMBER: ${{ steps.create-pr.outputs.pr_number }}
|
||||
run: gh pr review $PR_NUMBER --approve
|
||||
|
||||
- name: Merge PR
|
||||
if: ${{ steps.version-changed.outputs.changes_to_commit == 'TRUE' }}
|
||||
env:
|
||||
GH_TOKEN: ${{ steps.app-token.outputs.token }}
|
||||
PR_NUMBER: ${{ steps.create-pr.outputs.pr_number }}
|
||||
run: gh pr merge $PR_NUMBER --squash --auto --delete-branch
|
||||
# - name: Merge PR
|
||||
# if: ${{ steps.version-changed.outputs.changes_to_commit == 'TRUE' }}
|
||||
# env:
|
||||
# GH_TOKEN: ${{ steps.app-token.outputs.token }}
|
||||
# PR_NUMBER: ${{ steps.create-pr.outputs.pr_number }}
|
||||
# run: gh pr merge $PR_NUMBER --squash --auto --delete-branch
|
||||
|
||||
- name: Report upcoming release version to Slack
|
||||
if: ${{ steps.version-changed.outputs.changes_to_commit == 'TRUE' && inputs.enable_slack_notification == true }}
|
||||
uses: bitwarden/gh-actions/report-upcoming-release-version@main
|
||||
with:
|
||||
version: ${{ steps.set-final-version-output.outputs.version }}
|
||||
project: ${{ github.repository }}
|
||||
AZURE_KV_CI_SERVICE_PRINCIPAL: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}
|
||||
# - name: Report upcoming release version to Slack
|
||||
# if: ${{ steps.version-changed.outputs.changes_to_commit == 'TRUE' && inputs.enable_slack_notification == true }}
|
||||
# uses: bitwarden/gh-actions/report-upcoming-release-version@main
|
||||
# with:
|
||||
# version: ${{ steps.set-final-version-output.outputs.version }}
|
||||
# project: ${{ github.repository }}
|
||||
# AZURE_KV_CI_SERVICE_PRINCIPAL: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "@bitwarden/directory-connector",
|
||||
"productName": "Bitwarden Directory Connector",
|
||||
"description": "Sync your user directory to your Bitwarden organization.",
|
||||
"version": "2024.9.0",
|
||||
"version": "2024.9.1",
|
||||
"keywords": [
|
||||
"bitwarden",
|
||||
"password",
|
||||
|
||||
Reference in New Issue
Block a user