Skip to content

ci: auto-sync MOSuite subtree#1

Open
kelly-sovacool wants to merge 12 commits into
mainfrom
auto-sync-subtree
Open

ci: auto-sync MOSuite subtree#1
kelly-sovacool wants to merge 12 commits into
mainfrom
auto-sync-subtree

Conversation

@kelly-sovacool
Copy link
Copy Markdown
Member

@kelly-sovacool kelly-sovacool commented May 19, 2026

Changes

allows devs & analysts to edit the MOSuite code as needed for custom analyses

Issues

PR Checklist

(Strikethrough any points that are not applicable.)

  • This comment contains a description of changes with justifications, with any relevant issues linked.
  • Run the capsule in Code Ocean and ensure it completes successfully with no errors.
  • Update CHANGELOG.md with a short description of any user-facing changes and reference the PR number. Follow the style described in https://style.tidyverse.org/news.html
  • [ ] The tests workflow succeeds on the latest commit.

kelly-sovacool and others added 12 commits May 18, 2026 17:40
git-subtree-dir: code/MOSuite
git-subtree-split: c09ee39f9b282237f13d88dcf4cdfed965209c68
…/MOSuite-plot-expr-heatmap into auto-sync-subtree
6c3f164 chore: prepare v0.3.1 release (#216)
96fd3d6 ci: 🤖 auto-format
7df09af chore: bump dev version after release

git-subtree-dir: code/MOSuite
git-subtree-split: 6c3f164663c4302a9b0fcc0acfd10cc2dfc2fac3
Comment on lines +10 to +41
runs-on: ubuntu-latest
strategy:
matrix:
config:
- { remote: CCBR/MOSuite, local: code/MOSuite }
steps:
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ vars.CCBR_BOT_APP_ID }}
private-key: ${{ secrets.CCBR_BOT_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- uses: actions/checkout@v6
with:
token: ${{ steps.generate-token.outputs.token }}
- name: git config
run: |
git config --global user.name "CCBR-bot"
git config --global user.email "258092125+ccbr-bot@users.noreply.github.com"
- name: Pull subtree
env:
local_branch_name: pull/${{ matrix.config.remote }}
remote_branch_name: main # TODO use release ref from repo dispatch payload
run: |
git switch -c ${{ env.local_branch_name }}
git remote add -f subtree-remote ${{ matrix.config.remote }}
git fetch subtree-remote main
git subtree pull --prefix ${{ matrix.config.local }} subtree-remote ${{ env.remote_branch_name }} --squash
git add ${{ matrix.config.local }}
git commit -m 'chore: pull subtree from ${{ matrix.config.remote}} @ ${{ env.remote_branch_name}}'
gh pr create --fill-first
@kelly-sovacool kelly-sovacool changed the title refactor: add MOSuite package as a subtree ci: auto-sync MOSuite subtree May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants