File tree Expand file tree Collapse file tree 11 files changed +974
-859
lines changed Expand file tree Collapse file tree 11 files changed +974
-859
lines changed Original file line number Diff line number Diff line change @@ -30,34 +30,31 @@ jobs:
30
30
with :
31
31
mode : fix
32
32
33
+ - name : List files changed
34
+ id : files-changed
35
+ shell : bash -l {0}
36
+ run : |
37
+ set -ex
38
+ export CHANGES=$(git status --porcelain | tee modified.log | wc -l)
39
+ cat modified.log
40
+ # Remove the log otherwise it will be committed
41
+ rm modified.log
42
+
43
+ echo "N_CHANGES=${CHANGES}" >> $GITHUB_OUTPUT
44
+
45
+ git diff
46
+
33
47
- name : Commit any changes
48
+ if : steps.files-changed.outputs.N_CHANGES != '0'
34
49
shell : bash -l {0}
35
50
run : |
36
51
git config user.name "github-actions[bot]"
37
52
git config user.email "github-actions[bot]@users.noreply.github.com"
38
53
39
54
git pull --no-tags
40
- git add *
41
- git commit --allow-empty -m "Automatic application of license header"
42
- env :
43
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44
-
45
- - name : Get modified files
46
- id : changed-files
47
- uses :
tj-actions/[email protected]
48
- with :
49
- base_sha : ' HEAD~1'
50
- sha : ' HEAD'
51
55
52
- - name : Push fixes
53
- if : steps.changed-files.outputs.any_changed == 'true'
54
- shell : bash -l {0}
55
- run : |
56
- echo "Changed files"
57
- for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
58
- echo " $file"
59
- done
60
- git diff HEAD~1
56
+ git add *
57
+ git commit -m "Automatic application of license header"
61
58
62
59
git config push.default upstream
63
60
git push
Original file line number Diff line number Diff line change @@ -694,10 +694,7 @@ export type NotebookChange = DocumentChange & {
694
694
/**
695
695
* Notebook metadata changes
696
696
*/
697
- metadataChange ?: {
698
- oldValue : nbformat . INotebookMetadata ;
699
- newValue ?: nbformat . INotebookMetadata ;
700
- } ;
697
+ metadataChange ?: MapChanges ;
701
698
/**
702
699
* nbformat version change
703
700
*/
Original file line number Diff line number Diff line change 8
8
*/
9
9
10
10
export * from './api.js' ;
11
- export * from './ymodels.js' ;
12
11
export * from './utils.js' ;
12
+
13
+ export * from './ytext.js' ;
14
+ export * from './ydocument.js' ;
15
+ export * from './yfile.js' ;
16
+ export * from './ynotebook.js' ;
17
+ export {
18
+ YCellType ,
19
+ YBaseCell ,
20
+ YRawCell ,
21
+ YMarkdownCell ,
22
+ YCodeCell ,
23
+ createStandaloneCell
24
+ } from './ycell.js' ;
You can’t perform that action at this time.
0 commit comments