Skip to content

Commit

Permalink
add permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
khvn26 committed Mar 28, 2024
1 parent 91c45af commit 2e5babd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/api-deploy-production-ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
name: API Deploy to Production ECS
environment: production

permissions:
id-token: write
contents: read

steps:
- name: Cloning repo
uses: actions/checkout@v4
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/api-deploy-staging-ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
name: API Deploy to Staging ECS
environment: staging

permissions:
id-token: write
contents: read

steps:
- name: Cloning repo
uses: actions/checkout@v4
Expand Down

0 comments on commit 2e5babd

Please sign in to comment.