Skip to content

Commit

Permalink
Add permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
faucomte97 committed Jun 27, 2024
1 parent 090124f commit 574531e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
source-path: src

deploy:
permissions:
id-token: 'write' # TODO: separate build and deploy jobs and create reusable deploy workflow
runs-on: ubuntu-latest
needs: [validate-pr-refs, test]
# Deploy if:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:

jobs:
deploy:
permissions:
id-token: 'write' # TODO: separate build and deploy jobs and create reusable deploy workflow
runs-on: ubuntu-latest
steps:
- name: 🛫 Checkout
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/dispatch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:

jobs:
deploy:
permissions:
id-token: 'write' # TODO: separate build and deploy jobs and create reusable deploy workflow
runs-on: ubuntu-latest
steps:
- name: 🛫 Checkout
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
node-version: ${{ inputs.node-version }}

deploy:
permissions:
id-token: 'write' # TODO: separate build and deploy jobs and create reusable deploy workflow
runs-on: ubuntu-latest
needs: [validate-pr-refs, test]
# Deploy if:
Expand Down

0 comments on commit 574531e

Please sign in to comment.