Skip to content

Commit fb83ea1

Browse files
committed
chore: remove custom token from test.yaml
1 parent 697cc4a commit fb83ea1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/test.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@ jobs:
3131
(github.event_name == 'pull_request_review' &&
3232
github.event.review.state == 'approved')
3333
runs-on: ubuntu-latest
34+
permissions:
35+
contents: write
3436
steps:
35-
- uses: actions/checkout@v2
36-
with:
37-
token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }} # required otherwise GitHub blocks infinite loops in pushes originating in an action
37+
- uses: actions/checkout@v4
3838
if: github.actor != 'dependabot[bot]'
39-
- uses: actions/checkout@v2
39+
- uses: actions/checkout@v4
4040
if: github.actor == 'dependabot[bot]'
41-
- uses: actions/cache@v2
41+
- uses: actions/cache@v4
4242
with:
4343
path: ~/.npm
4444
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
4545
restore-keys: |
4646
${{ runner.os }}-node
4747
- run: npm i
48-
- run: npm run test:jest
48+
- run: npm run test:jest

0 commit comments

Comments
 (0)