Skip to content

Commit ded5dce

Browse files
fix(deps): update octokit monorepo (major) (#565)
* fix(deps): update octokit monorepo * ci: fix update prettier workflow --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: wolfy1339 <[email protected]>
1 parent 94353f1 commit ded5dce

File tree

4 files changed

+104
-256
lines changed

4 files changed

+104
-256
lines changed

.github/workflows/update-prettier.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,28 @@ name: Update Prettier
33
push:
44
branches:
55
- renovate/prettier-*
6+
permissions:
7+
contents: read
68
jobs:
79
update_prettier:
810
runs-on: ubuntu-latest
911
steps:
12+
- uses: actions/create-github-app-token@v2
13+
id: app-token
14+
with:
15+
app-id: ${{ vars.OCTOKIT_APP_ID }}
16+
private-key: ${{ secrets.OCTOKIT_APP_PRIVATE_KEY }}
17+
owner: octokit
1018
- uses: actions/checkout@v4
1119
- uses: actions/setup-node@v4
1220
with:
1321
cache: npm
14-
node-version: 16
22+
node-version: lts/*
1523
- run: npm ci
1624
- run: npm run lint:fix
1725
- uses: gr2m/[email protected]
1826
env:
19-
GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }}
27+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
2028
with:
2129
title: Prettier updated
2230
body: An update to prettier required updates to your code.

0 commit comments

Comments
 (0)