From 5af966e07e65dadd18a58fed3412c7a222b729ea Mon Sep 17 00:00:00 2001 From: tony-josi-aws Date: Tue, 17 Jun 2025 14:17:07 +0530 Subject: [PATCH] Update permission for release actions --- .github/workflows/release-candidate.yml | 4 ++++ .github/workflows/release.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/release-candidate.yml b/.github/workflows/release-candidate.yml index af9725ba09..95e64606c3 100644 --- a/.github/workflows/release-candidate.yml +++ b/.github/workflows/release-candidate.yml @@ -10,6 +10,10 @@ on: description: 'Release Version Number (Eg, v1.0.0-rc1)' required: true +# Workflow permissions block +permissions: + contents: write # This grants write access to repository content, including pushing commits/tags and creating releases. + jobs: tag-commit: name: Tag commit diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bf816e2b0d..08a040035b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,10 @@ on: description: 'Release Version Number (Eg, v1.0.0)' required: true +# Workflow permissions block +permissions: + contents: write # This grants write access to repository content, including pushing commits/tags and creating releases. + jobs: tag-commit: name: Tag commit