From 4f84ba779b2ec136c63ea198b6ea08f1704bf895 Mon Sep 17 00:00:00 2001 From: raj pandey Date: Wed, 12 Aug 2026 18:54:51 +0530 Subject: [PATCH] fix: add contents:write permission to core release workflow gh release create requires contents:write on the GITHUB_TOKEN. Add it at the job level in the reusable workflow and at the top level in the pipeline caller so it propagates correctly. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/release-production-core.yml | 2 ++ .github/workflows/release-production-pipeline.yml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/release-production-core.yml b/.github/workflows/release-production-core.yml index e6e45eeb15..eeeeae2cab 100644 --- a/.github/workflows/release-production-core.yml +++ b/.github/workflows/release-production-core.yml @@ -6,6 +6,8 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 diff --git a/.github/workflows/release-production-pipeline.yml b/.github/workflows/release-production-pipeline.yml index 3842500d04..c7736ae68e 100644 --- a/.github/workflows/release-production-pipeline.yml +++ b/.github/workflows/release-production-pipeline.yml @@ -5,6 +5,9 @@ on: branches: [main] workflow_dispatch: +permissions: + contents: write + jobs: plugins: uses: ./.github/workflows/release-production-platform-plugins.yml