From 604619c2063b421548a10f44f4ea0e5b1804fca0 Mon Sep 17 00:00:00 2001 From: Masafumi Koba <473530+ybiquitous@users.noreply.github.com> Date: Wed, 4 Jan 2023 09:58:15 +0900 Subject: [PATCH] fix(actions): `permissions.contents` for `npm-audit-fix` (#1449) --- .github/workflows/npm-audit-fix.yml | 2 +- test/__snapshots__/init.test.js.snap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-audit-fix.yml b/.github/workflows/npm-audit-fix.yml index 34cb6c2d..7a08ae38 100644 --- a/.github/workflows/npm-audit-fix.yml +++ b/.github/workflows/npm-audit-fix.yml @@ -9,7 +9,7 @@ jobs: npm-audit-fix: runs-on: ubuntu-latest permissions: - contents: read + contents: write pull-requests: write steps: - uses: actions/checkout@v3 diff --git a/test/__snapshots__/init.test.js.snap b/test/__snapshots__/init.test.js.snap index faefe026..c8b9843e 100644 --- a/test/__snapshots__/init.test.js.snap +++ b/test/__snapshots__/init.test.js.snap @@ -168,7 +168,7 @@ jobs: npm-audit-fix: runs-on: ubuntu-latest permissions: - contents: read + contents: write pull-requests: write steps: - uses: actions/checkout@v3