Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Commit

Permalink
Sync fork gha
Browse files Browse the repository at this point in the history
  • Loading branch information
gratus-acuitymd committed Sep 20, 2024
1 parent 737e2b1 commit 5a967b2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/forksync.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Sync Fork
on:
schedule:
- cron: "0 */6 * * *" # Runs every 6 hours
workflow_dispatch: # Allows manual trigger

jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Sync Fork
run: |
git remote add upstream https://github.com/locustio/locust.git
git fetch upstream
git checkout master
git merge upstream/master
git push origin master

0 comments on commit 5a967b2

Please sign in to comment.