Skip to content

Post-release

Post-release #6

Workflow file for this run

name: Post-release
on:
release:
types: [created]
jobs:
merge-main-to-beta:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.release.name, 'beta') }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.DRTRT_ADMIN_BOT }}
- name: Configure git user
run: |
git config user.name 'GitHub Actions Bot'
git config user.email '<>'
- name: Merge main into beta
run: |
git fetch origin
git checkout beta
git merge origin/main
git push origin beta