File tree 2 files changed +32
-2
lines changed
2 files changed +32
-2
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,21 @@ functions:
91
91
type : system
92
92
params :
93
93
directory : src
94
+
95
+ checkout_writeable :
96
+ - command : github.generate_token
97
+ params :
98
+ expansion_name : generated_github_token
99
+ owner : mongodb-js
100
+ repo : mongosh
101
+ permissions :
102
+ contents : write
103
+ - command : git.get_project
104
+ type : system
105
+ params :
106
+ directory : src
107
+ token : ${generated_github_token}
108
+
94
109
compile_ts :
95
110
- command : expansions.write
96
111
type : system
@@ -9690,7 +9705,7 @@ tasks:
9690
9705
- name : compile_ts
9691
9706
variant : linux_compile
9692
9707
commands :
9693
- - func : checkout
9708
+ - func : checkout_writeable
9694
9709
- func : install
9695
9710
vars :
9696
9711
node_js_version : " 20.18.3"
Original file line number Diff line number Diff line change @@ -100,6 +100,21 @@ functions:
100
100
type: system
101
101
params:
102
102
directory: src
103
+
104
+ checkout_writeable:
105
+ - command: github.generate_token
106
+ params:
107
+ expansion_name: generated_github_token
108
+ owner: mongodb-js
109
+ repo: mongosh
110
+ permissions:
111
+ contents: write
112
+ - command: git.get_project
113
+ type: system
114
+ params:
115
+ directory: src
116
+ token: ${generated_github_token}
117
+
103
118
compile_ts:
104
119
- command: expansions.write
105
120
type: system
@@ -1467,7 +1482,7 @@ tasks:
1467
1482
- name: compile_ts
1468
1483
variant: linux_compile
1469
1484
commands:
1470
- - func: checkout
1485
+ - func: checkout_writeable
1471
1486
- func: install
1472
1487
vars:
1473
1488
node_js_version: "<% out(NODE_JS_VERSION_20) %>"
You can’t perform that action at this time.
0 commit comments