Skip to content

Commit

Permalink
Add workflow file for fork sync (#48)
Browse files Browse the repository at this point in the history
### What was the problem?

This PR resolves LISK-962.

### How was it solved?

- [x] Integrate fork sync to the CI pipeline.
- [x] Auto approve is disabled by default.

### How was it tested?
  • Loading branch information
matjazv authored Sep 5, 2024
1 parent cd98b8b commit 48b7e21
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/fork-sync.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Sync Fork

on:
schedule:
- cron: "0 0 * * *" # once a day
workflow_dispatch: # on button click

jobs:
sync:
runs-on: ubuntu-latest
timeout-minutes: 30 # `yarn test` takes longer time
steps:
- uses: tgymnich/fork-sync
with:
owner: across-protocol
repo: relayer
head: master
base: master
pr_title: Sync fork repo
pr_message: Merge latest changes from upstream repo

0 comments on commit 48b7e21

Please sign in to comment.