Skip to content

Commit 9c4b387

Browse files
committed
switch to use app token
1 parent 67c690d commit 9c4b387

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/release-packages.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,18 @@ jobs:
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
23+
id: app-token
24+
with:
25+
app-id: ${{ vars.DEVTOOLS_BOT_APP_ID }}
26+
private-key: ${{ secrets.DEVTOOLS_BOT_PRIVATE_KEY }}
27+
2128
- uses: actions/checkout@v4
2229
with:
2330
# don't checkout a detatched HEAD
2431
ref: ${{ github.head_ref }}
2532

26-
- name: Setup git
27-
run: |
28-
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
29-
git config --local user.name "github-actions[bot]"
30-
3133
- name: "Use Node.js 14"
3234
uses: actions/setup-node@v3
3335
with:

0 commit comments

Comments
 (0)