Skip to content

Commit

Permalink
Dont use updateProtectedBranch from finishReleaseCycle
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Jun 15, 2023
1 parent 4cb2058 commit 50f61b0
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/finishReleaseCycle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,22 @@ jobs:
needs: validate
if: ${{ fromJSON(needs.validate.outputs.isValid) }}
steps:
- name: Update production branch
uses: Expensify/App/.github/actions/composite/updateProtectedBranch@main
- uses: actions/checkout@v3
with:
TARGET_BRANCH: production
OS_BOTIFY_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }}
GPG_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }}
ref: staging
token: ${{ inputs.OS_BOTIFY_TOKEN }}

- uses: Expensify/App/.github/actions/composite/setupGitForOSBotify@main
with:
GPG_PASSPHRASE: ${{ inputs.GPG_PASSPHRASE }}

- name: Update production branch
run: |
git switch production
git switch staging
git branch -D production
git switch -c production
git push --force origin production
# Create a new patch version to prep for next release cycle
createNewPatchVersion:
Expand Down

0 comments on commit 50f61b0

Please sign in to comment.