Skip to content

Commit

Permalink
switch to use app token
Browse files Browse the repository at this point in the history
  • Loading branch information
gagik committed Dec 31, 2024
1 parent 67c690d commit 9c4b387
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Create Github App Token
uses: mongodb-js/devtools-shared/actions/setup-bot-token@main
id: app-token
with:
app-id: ${{ vars.DEVTOOLS_BOT_APP_ID }}
private-key: ${{ secrets.DEVTOOLS_BOT_PRIVATE_KEY }}

- uses: actions/checkout@v4
with:
# don't checkout a detatched HEAD
ref: ${{ github.head_ref }}

- name: Setup git
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- name: "Use Node.js 14"
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 9c4b387

Please sign in to comment.