From a40bc0aab7cd07bbe3cb8eee03f9534de740f33b Mon Sep 17 00:00:00 2001 From: omar Date: Mon, 13 May 2024 20:48:21 -0600 Subject: [PATCH] fix: ci permissions (#215) --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 75e8fec..3635617 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,6 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true - env: ACTIONS_RUNNER_DEBUG: true NEXT_TELEMETRY_DISABLED: '1' @@ -28,13 +27,16 @@ jobs: if: github.repository == 'rehype-pretty/rehype-pretty-code' && !contains(github.event.head_commit.message, '[skip ci]') runs-on: ['ubuntu-latest'] permissions: + issues: write contents: write id-token: write + packages: write + pull-requests: write + repository-projects: write steps: - name: 'Checkout Repository' uses: actions/checkout@v4 - - name: 'Get pnpm Version' id: pnpm-version run: |