Skip to content

Commit

Permalink
chore: gh action to update sync branch with upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
iCrawl committed Nov 7, 2023
1 parent 2e26d1f commit 80a8f42
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/sync-fork.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: sync-fork
on:
schedule:
- cron: '0 */12 * * *'
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- run: gh repo sync $REPOSITORY -b sync --force
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY: ${{ github.repository }}

0 comments on commit 80a8f42

Please sign in to comment.