Skip to content

Commit

Permalink
fix post release
Browse files Browse the repository at this point in the history
  • Loading branch information
offtherailz committed Apr 10, 2024
1 parent de63fca commit 8c24ea3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/post_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,11 @@ jobs:
git commit -m "Restore java packages to $SNAPSHOT_VERSION and update package.json"
git push origin ${{ github.ref_name }}
echo "Snapshots version restored"
- name: "Push to protected branch"
uses: CasperWA/push-protected@v2
with:
# This requires a special token to be able to trigger checks on new branch creation
# admin permissions are required to temporarily disable branch protection for reviews
token: ${{ secrets.PUSH_PROTECTED }}
ref: ${{ github.ref }}
unprotect_reviews: true

0 comments on commit 8c24ea3

Please sign in to comment.