|
|
|
|
@ -21,12 +21,6 @@ jobs:
@@ -21,12 +21,6 @@ jobs:
|
|
|
|
|
name: "Bump Version to v${{ inputs.version_number }}" |
|
|
|
|
runs-on: ubuntu-22.04 |
|
|
|
|
steps: |
|
|
|
|
- name: Checkout Branch |
|
|
|
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 |
|
|
|
|
with: |
|
|
|
|
repository: bitwarden/key-connector |
|
|
|
|
ref: master |
|
|
|
|
|
|
|
|
|
- name: Login to Azure - CI Subscription |
|
|
|
|
uses: Azure/login@de95379fe4dadc2defb305917eaa7e5dde727294 # v1.5.1 |
|
|
|
|
with: |
|
|
|
|
@ -41,6 +35,13 @@ jobs:
@@ -41,6 +35,13 @@ jobs:
|
|
|
|
|
github-gpg-private-key-passphrase, |
|
|
|
|
github-pat-bitwarden-devops-bot-repo-scope" |
|
|
|
|
|
|
|
|
|
- name: Checkout Branch |
|
|
|
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 |
|
|
|
|
with: |
|
|
|
|
repository: bitwarden/key-connector |
|
|
|
|
ref: master |
|
|
|
|
token: ${{ steps.retrieve-secrets.outputs.github-pat-bitwarden-devops-bot-repo-scope }} |
|
|
|
|
|
|
|
|
|
- name: Import GPG key |
|
|
|
|
uses: crazy-max/ghaction-import-gpg@82a020f1f7f605c65dd2449b392a52c3fcfef7ef # v6.0.0 |
|
|
|
|
with: |
|
|
|
|
@ -115,8 +116,8 @@ jobs:
@@ -115,8 +116,8 @@ jobs:
|
|
|
|
|
if: ${{ steps.version-changed.outputs.changes_to_commit == 'TRUE' }} |
|
|
|
|
id: create-pr |
|
|
|
|
env: |
|
|
|
|
PR_BRANCH: ${{ steps.create-branch.outputs.name }} |
|
|
|
|
GH_TOKEN: ${{ steps.retrieve-secrets.outputs.github-pat-bitwarden-devops-bot-repo-scope }} |
|
|
|
|
PR_BRANCH: ${{ steps.create-branch.outputs.name }} |
|
|
|
|
TITLE: "Bump version to ${{ inputs.version_number }}" |
|
|
|
|
run: | |
|
|
|
|
PR_URL=$(gh pr create --title "$TITLE" \ |
|
|
|
|
|