From b56bb3a202c9ccef0d1341bcef7ba5741d04a1d4 Mon Sep 17 00:00:00 2001 From: Bassem Dghaidi <568794+Link-@users.noreply.github.com> Date: Thu, 29 Jan 2026 02:11:09 -0800 Subject: [PATCH] Fix permissions for workflows/workflow.yml --- .github/workflows/release-new-action-version.yml | 1 + .github/workflows/workflow.yml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/release-new-action-version.yml b/.github/workflows/release-new-action-version.yml index 0b64c97..bae9462 100644 --- a/.github/workflows/release-new-action-version.yml +++ b/.github/workflows/release-new-action-version.yml @@ -10,6 +10,7 @@ on: env: TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} + permissions: contents: write diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 891aa95..3dbbc6f 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -10,6 +10,9 @@ on: - main - releases/** +permissions: + contents: read + jobs: # Build and unit test build: @@ -57,6 +60,7 @@ jobs: path: | test-cache ~/test-cache + test-restore: needs: test-save strategy: @@ -104,6 +108,7 @@ jobs: with: key: test-proxy-${{ github.run_id }} path: test-cache + test-proxy-restore: needs: test-proxy-save runs-on: ubuntu-latest