Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/dev_sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Branch dev in sync to branch next

description: |
The `dev` branch is just `next` without the `.gitmodules` file, to allow for deploying
this package from source without attempting to also clone the test data repository.

on:
push:
branches:
- next

jobs:
sync_deploy_dev:
runs-on: ubuntu-24.04
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0 # Needed to switch branches
ref: next # Explicitly specify the branch to check out

- name: Configure git
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"

- name: Create dev branch
run: |
git checkout -B dev

# Remove submodule-related stuff
git rm -rf .gitmodules tests/mr_reduction-data || true
git commit -am "Sync from next without submodules" || echo "No changes"

git push origin dev --force