forked from drieslab/Giotto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add
readPolygonVizgenParquet()
to fun index
- Also try adding cron job for nightly website fast forwards and builds
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Mirror from Upstream | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' # Run daily at midnight | ||
workflow_dispatch: # Allow manual trigger | ||
|
||
jobs: | ||
mirror-from-upstream: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 # Fetch all history for all branches and tags | ||
|
||
- name: Set up Git | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Actions" | ||
- name: Fastforward from upstream | ||
run: | | ||
git remote add upstream https://github.com/drieslab/Giotto.git | ||
git fetch upstream | ||
git checkout suite | ||
git merge --ff-only upstream/suite | ||
- name: Check for fast-forward | ||
run: | | ||
if ! git merge-base --is-ancestor HEAD upstream/suite; then | ||
echo "Fast-forward not possible. Aborting merge." | ||
exit 1 | ||
fi | ||
- name: Push changes | ||
run: | | ||
git push origin suite |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters