Skip to content

Commit

Permalink
Remove testing
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrassia committed Mar 13, 2024
1 parent 2934bd3 commit 0911e1f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/version-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ jobs:
run: git push -u origin $PR_BRANCH

- name: Create Version PR
#if: ${{ steps.version-changed.outputs.changes_to_commit == 'TRUE' }}
if: false #TODO: Remove before merge to main.
if: ${{ steps.version-changed.outputs.changes_to_commit == 'TRUE' }}
id: create-pr
env:
GH_TOKEN: ${{ steps.retrieve-secrets.outputs.github-pat-bitwarden-devops-bot-repo-scope }}
Expand All @@ -170,16 +169,14 @@ jobs:
echo "pr_number=${PR_URL##*/}" >> $GITHUB_OUTPUT
- name: Approve PR
#if: ${{ steps.version-changed.outputs.changes_to_commit == 'TRUE' }}
if: false #TODO: Remove before merge to main.
if: ${{ steps.version-changed.outputs.changes_to_commit == 'TRUE' }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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' }}
if: false #TODO: Remove before merge to main.
if: ${{ steps.version-changed.outputs.changes_to_commit == 'TRUE' }}
env:
GH_TOKEN: ${{ steps.retrieve-secrets.outputs.github-pat-bitwarden-devops-bot-repo-scope }}
PR_NUMBER: ${{ steps.create-pr.outputs.pr_number }}
Expand Down

0 comments on commit 0911e1f

Please sign in to comment.