Skip to content

Commit

Permalink
fix: add proper permissions to the steps pushing branches (#652)
Browse files Browse the repository at this point in the history
Co-authored-by: Gerald Iakobinyi-Pich <gerald@gitcoin.co>
  • Loading branch information
nutrina and Gerald Iakobinyi-Pich authored Aug 2, 2024
1 parent 578d2e6 commit 642d65f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release_and_deploy_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 642d65f

Please sign in to comment.