Skip to content

chore: update market configs (#221) #468

chore: update market configs (#221)

chore: update market configs (#221) #468

Workflow file for this run

name: Sync fork
on:
workflow_dispatch:
push:
branches:
- main
- develop
jobs:
sync:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event_name == 'workflow_run' || github.head_ref || github.ref_name }}
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.FORK_KEY }}
- name: Push to Lutra Labs org fork repo
env:
USE_SSH: true
run: |
git remote add fork [email protected]:lutralabs/swaylend-monorepo.git
git config --global user.email "[email protected]"
git config --global user.name "Lutra Labs Bot"
git commit --amend --author="Lutra Labs Bot <[email protected]>" --no-edit
git push fork --force
- name: Push to Lutra Labs Bot fork repo
env:
USE_SSH: true
run: |
git remote add bot-fork [email protected]:lutralabs-bot/swaylend-monorepo.git
git config --global user.email "[email protected]"
git config --global user.name "Lutra Labs Bot"
git commit --amend --author="Lutra Labs Bot <[email protected]>" --no-edit
git push bot-fork --force