File tree Expand file tree Collapse file tree 3 files changed +13
-8
lines changed
packages/build/src/npm-packages Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -10,18 +10,21 @@ jobs:
1010 name : Bump packages
1111 runs-on : ubuntu-latest
1212 steps :
13- - name : Create Github App Token
14- uses : mongodb-js/devtools-shared/actions/setup-bot-token@main
13+ - uses : mongodb-js/devtools-shared/actions/setup-bot-token@main
1514 id : app-token
1615 with :
1716 app-id : ${{ vars.DEVTOOLS_BOT_APP_ID }}
18- private-key : ${{ secrets.DEVTOOLS_BOT_PRIVATE_KEY }}
19-
17+ private-key : ${{ secrets.DEVTOOLS_BOT_PRIVATE_KEY }}
2018 - uses : actions/checkout@v4
2119 with :
2220 # don't checkout a detatched HEAD
2321 ref : ${{ github.head_ref }}
2422
23+ # this is important so git log can pick up on
24+ # the whole history to generate the list of AUTHORS
25+ fetch-depth : " 0"
26+ token : ${{ steps.app-token.outputs.token }}
27+
2528 - uses : actions/setup-node@v4
2629 with :
2730 node-version : 20.16.0
3336
3437 - name : Install Dependencies
3538 run : |
36- npm -v
3739 npm ci
3840
3941 - name : Bump packages
Original file line number Diff line number Diff line change 1818 runs-on : ubuntu-latest
1919
2020 steps :
21- - name : Create Github App Token
22- uses : mongodb-js/devtools-shared/actions/setup-bot-token@main
21+ - uses : mongodb-js/devtools-shared/actions/setup-bot-token@main
2322 id : app-token
2423 with :
2524 app-id : ${{ vars.DEVTOOLS_BOT_APP_ID }}
3029 # don't checkout a detatched HEAD
3130 ref : ${{ github.head_ref }}
3231
32+ # this is important so git log can pick up on
33+ # the whole history to generate the list of AUTHORS
34+ fetch-depth : " 0"
35+ token : ${{ steps.app-token.outputs.token }}
36+
3337 - name : " Use Node.js 20"
3438 uses : actions/setup-node@v4
3539 with :
Original file line number Diff line number Diff line change 88import { promises as fs } from 'fs' ;
99import path from 'path' ;
1010import { PROJECT_ROOT } from './constants' ;
11- import * as monorepoTools from '@mongodb-js/monorepo-tools' ;
1211
1312describe ( 'npm-packages bump' , function ( ) {
1413 let fsReadFile : SinonStub ;
You can’t perform that action at this time.
0 commit comments