Skip to content

Commit

Permalink
Create Sync Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gh0stdotexe committed Apr 5, 2023
1 parent 836a07b commit 46bed3f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Sync with Upstream
on:
schedule:
- cron: '@hourly' # Schedule the workflow to run once a day
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Fetch upstream changes
run: git fetch upstream
- name: Merge upstream changes
run: git merge upstream/master
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 46bed3f

Please sign in to comment.