From ed4a2a947f0f5c58190073660e3ced31de45f2a4 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Tue, 5 Mar 2024 10:22:07 +0000 Subject: [PATCH] ci: remove `contents: read` permission as repo is now public --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b54acf..5416615 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: branches: - main -permissions: { contents: read } +permissions: {} jobs: ci: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1636f98..5601256 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,6 @@ jobs: if: ${{ github.repository_owner == 'nuxt' && github.event_name == 'push' }} permissions: id-token: write - contents: read steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - run: corepack enable