Skip to content

Commit

Permalink
backport of git uptodate change from deathbeds#16
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl committed Dec 3, 2023
1 parent 0a68b58 commit c7dffe7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
17 changes: 17 additions & 0 deletions examples/a11y-prs/jupyak_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
lite:
gist: 7232671f04a5de8f1ce4b810f5ea8a3a

repos:
lumino: {github: {merge_with: [pull/655]}}

jupyterlab:
github:
merge_strategy: ort
merge_options: [theirs]
merge_with:
- pull/14575
- pull/14597
- pull/14766
- pull/14854
- pull/15222
- pull/15347
5 changes: 5 additions & 0 deletions src/jupyak/tasks/_git.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,11 @@
"\n",
" yield dict(\n",
" name=f\"{name}:checkout\",\n",
" uptodate=[\n",
" doit.tools.config_changed(\n",
" {\"s\": merge_strategy, \"x\": merge_options, \"refs\": local_refs}\n",
" )\n",
" ],\n",
" actions=actions,\n",
" file_dep=file_dep,\n",
" targets=targets,\n",
Expand Down

0 comments on commit c7dffe7

Please sign in to comment.