File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 41
41
42
42
steps :
43
43
- name : Checkout repository
44
- uses : actions/checkout@v3
44
+ uses : actions/checkout@v4
45
45
46
46
# Initializes the CodeQL tools for scanning.
47
47
- name : Initialize CodeQL
Original file line number Diff line number Diff line change 19
19
prepare :
20
20
runs-on : ubuntu-latest
21
21
steps :
22
+ - uses : mongodb-js/devtools-shared/actions/setup-bot-token@main
23
+ id : app-token
24
+ with :
25
+ app-id : ${{ vars.DEVTOOLS_BOT_APP_ID }}
26
+ private-key : ${{ secrets.DEVTOOLS_BOT_PRIVATE_KEY }}
27
+
22
28
- uses : actions/checkout@v4
23
29
24
30
- name : Use Node.js 20.x
36
42
with :
37
43
branch : release/${{ steps.version.outputs.new-version }}
38
44
title : ' chore: bump version to ${{ steps.version.outputs.new-version }}'
39
- token : ${{ secrets.SVC_DEVTOOLSBOT_TOKEN }}
45
+ token : ${{ steps.app-token.outputs.token }}
40
46
draft : false
41
47
body : |
42
48
An automated PR for next release.
Original file line number Diff line number Diff line change 11
11
name : Production
12
12
url : https://www.npmjs.com/package/@mongodb-js/oidc-plugin/v/${{ steps.get-version.outputs.package_version }}
13
13
steps :
14
+ - uses : mongodb-js/devtools-shared/actions/setup-bot-token@main
15
+ id : app-token
16
+ with :
17
+ app-id : ${{ vars.DEVTOOLS_BOT_APP_ID }}
18
+ private-key : ${{ secrets.DEVTOOLS_BOT_PRIVATE_KEY }}
19
+
14
20
- uses : actions/checkout@v4
15
21
16
22
- name : Use Node.js 20.x
44
50
- name : Merge Pull Request
45
51
uses : juliangruber/merge-pull-request-action@9234b8714dda9a08f3d1df5b2a6a3abd7b695353 # 1.3.1
46
52
with :
47
- github-token : ${{ secrets.SVC_DEVTOOLSBOT_TOKEN }}
53
+ github-token : ${{ steps.app-token.outputs.token }}
48
54
number : ${{ steps.find-pull-request.outputs.number }}
49
55
method : squash
50
56
You can’t perform that action at this time.
0 commit comments