Skip to content

Commit

Permalink
Add GitHub workflow to sync fork every hour
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 24, 2024
1 parent ecc1b6d commit b2e42e1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/sync-fork.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: sync-fork

on:
schedule:
- cron: '*/45 * * * *'

jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions"
git remote add atlassian https://bitbucket.com/atlassian/atlassian-frontend-mirror.git
git fetch atlassian
git rebase atlassian/master
git push --force

0 comments on commit b2e42e1

Please sign in to comment.