v1.2.1-beta.1 #10
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |