Skip to content

Commit

Permalink
chore: added permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
devops-chris committed Dec 15, 2023
1 parent a6b820c commit db337e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
name: ${{ env.WORKING_DIR }}-${{ env.ENVIRONMENT }}-build-${{ github.event.pull_request.number }}
path: ${{ env.WORKING_DIR }}/build

deploy:
plan-deploy:
needs: build
permissions:
pull-requests: write
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/dev_pr_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ env:
WORKING_DIR: "frontend"

jobs:
terraform_apply:
apply-deploy:
permissions:
pull-requests: write
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.merged }}
steps:
Expand Down

0 comments on commit db337e5

Please sign in to comment.