Try using a personal access token for formatter job
This commit is contained in:
parent
f05db0ef0f
commit
7e0634aee0
4
.github/workflows/format.yml
vendored
4
.github/workflows/format.yml
vendored
|
@ -12,8 +12,6 @@ env:
|
||||||
FORCE_COLOR: 3
|
FORCE_COLOR: 3
|
||||||
NEXT_TELEMETRY_DISABLED: 1
|
NEXT_TELEMETRY_DISABLED: 1
|
||||||
|
|
||||||
permissions: write-all
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prettify:
|
prettify:
|
||||||
name: Auto-prettify
|
name: Auto-prettify
|
||||||
|
@ -23,6 +21,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.FORMATTER_ACCESS_TOKEN }}
|
||||||
- name: Restore cached node_modules
|
- name: Restore cached node_modules
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user