feat(tangle-dapp): Create LS Unbonding
tab (#2646)
#119
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: Auto Sync Master with Develop | |
on: | |
push: | |
branches: | |
- develop | |
permissions: | |
contents: write | |
jobs: | |
sync-branches: | |
if: "startsWith(github.event.head_commit.message, '[RELEASE]')" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/create-github-app-token@v1 | |
id: app-token | |
with: | |
app-id: ${{ vars.AUTO_SYNC_BRANCHES_APP_ID }} | |
private-key: ${{ secrets.AUTO_SYNC_BRANCHES_SECRET }} | |
- name: Checkout Master | |
uses: actions/checkout@v4 | |
with: | |
ref: master | |
fetch-depth: 0 | |
token: ${{ steps.app-token.outputs.token }} | |
- name: Configure Git | |
run: | | |
git config user.name "github-actions[bot]" | |
git config user.email "github-actions[bot]@users.noreply.github.com" | |
- name: Merge Release Commit to Master | |
run: | | |
git fetch origin develop | |
git merge --ff-only ${{ github.sha }} | |
- name: Push Changes to Master | |
run: git push origin master | |
env: | |
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} |