Pre-release #252
This file contains 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: 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 }} |