Skip to content

Pre-release

Pre-release #197

Workflow file for this run

name: Pre-release
on: workflow_dispatch
concurrency:
cancel-in-progress: true
group: pre-release-${{ github.ref }}
jobs:
release:
name: Pre-release
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Rebase dev to master
run: |
git config --global user.name "${NAME}"
git config --global user.email "${EMAIL}"
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
git switch master
git pull
git rebase dev
git push
env:
GITHUB_TOKEN: ${{ secrets.SOCIALGROOVYBOT_BOTO_PAT }}
NAME: ${{ secrets.SOCIALGROOVYBOT_NAME }}
EMAIL: ${{ secrets.SOCIALGROOVYBOT_EMAIL }}