Skip to content

[RELEASE] tangle-dapp v0.0.10 #3

[RELEASE] tangle-dapp v0.0.10

[RELEASE] tangle-dapp v0.0.10 #3

name: Auto Sync Master with Develop
on:
push:
branches:
- develop
jobs:
sync-branches:
if: "startsWith(github.event.head_commit.message, '[RELEASE]')"
runs-on: ubuntu-latest
steps:
- name: Checkout Develop
uses: actions/checkout@v2
with:
ref: develop
- name: Configure Git
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Checkout Master and Rebase Develop onto Master
run: |
git fetch origin master:master
git checkout master
git rebase develop
- name: Push Changes to Master
run: git push origin master --force-with-lease
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}