Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .codeocean/environment.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": 1,
"base_image": "codeocean/mosuite:v0.3.0",
"base_image": "codeocean/mosuite-minimal:v0.3.1",
"post_install": true,
"options": {
"registry_host_arg": true,
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/pull-subtree.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: pull-subtree

on:
repository_dispatch:
types: [release]
workflow_dispatch:

jobs:
pull-subtree:
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

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Comment on lines +10 to +41
9 changes: 9 additions & 0 deletions .github/workflows/push-subtree.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: push-subtree

on:
repository_dispatch:
workflow_dispatch:

jobs:
push-subtree:
runs-on: ubuntu-latest
9 changes: 9 additions & 0 deletions .github/workflows/sync-code-ocean.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: sync-code-ocean

on:
repository_dispatch:
workflow_dispatch:

jobs:
sync-code-ocean:
runs-on: ubuntu-latest
29 changes: 0 additions & 29 deletions .github/workflows/test.yml

This file was deleted.

3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## development version

- The MOSuite package is now available in `code/MOSuite`. (#1)
- Use MOSuite v0.3.1.

## v2.0

- Use MOSuite v0.3.0.
Expand Down
37 changes: 37 additions & 0 deletions code/MOSuite/.Rbuildignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
^renv$
^renv\.lock$
^_pkgdown\.yml$
^\.github$
^\.lintr$
^\.pre-commit-config\.yaml$
^\.prettierignore$
^\.prettierrc$
^\.Rproj\.user$
^CITATION\.cff$
^codemeta\.json$
^data-raw$
^doc$
^Dockerfile$
^docker$
^docs$
^figures$
^LICENSE\.md$
^Meta$
^MOSuite\.Rproj$
^pkgdown$
^README\.Rmd$
^README\.html$
^README_files$
^Rplots\.pdf$
^moo_input\.rds$
^plot-volc-enh\.json$
^volc-sum-params\.json$
^report_files$
^inst/quarto/report_files$
^tests/figures$
^vignettes/figures/$
^vignettes/memory\.Rmd$
^vignettes/cli\.Rmd$
VennDiagram.*\.log
^[.]?air[.]toml$
^\.vscode$
4 changes: 4 additions & 0 deletions code/MOSuite/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CITATION.cff linguist-generated
codemeta.json linguist-generated
NAMESPACE linguist-generated
man/ linguist-generated
1 change: 1 addition & 0 deletions code/MOSuite/.github/.Rprofile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rlang::global_entrace()
1 change: 1 addition & 0 deletions code/MOSuite/.github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
Loading
Loading