From a3beaf3e0bf2b92a34490fe5056d80024cb70165 Mon Sep 17 00:00:00 2001 From: Gerald Iakobinyi-Pich Date: Fri, 2 Aug 2024 19:55:43 +0300 Subject: [PATCH] fix: add proper permissions to the steps pushing branches --- .github/workflows/release_and_deploy_production.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release_and_deploy_production.yml b/.github/workflows/release_and_deploy_production.yml index aef7f3eb6..d3f1a1a92 100644 --- a/.github/workflows/release_and_deploy_production.yml +++ b/.github/workflows/release_and_deploy_production.yml @@ -62,6 +62,8 @@ jobs: deploy-interface-to-staging: name: Push code to staging branch needs: [ref, deploy-staging] + permissions: + contents: write runs-on: ubuntu-latest steps: - name: Checkout @@ -89,6 +91,8 @@ jobs: deploy-interface-to-production: name: Push code to branch needs: [ref, deploy-production] + permissions: + contents: write runs-on: ubuntu-latest steps: - name: Checkout