Skip to content

Commit

Permalink
Adding permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
atiterlea committed Aug 17, 2023
1 parent 6b599ac commit fae408f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/azure-terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ on:
- "**/azure/**"
- ".github/workflows/azure-terraform.yml"

permissions:
contents: read
id-token: write
pull-requests: write

jobs:
create:
name: Create AKS Cluster
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/create-cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ on:
description: ''
required: false

permissions:
contents: read
id-token: write
pull-requests: write

env:
ARM_CLIENT_ID: ${{ secrets.CLIENT_ID || '' }}
ARM_CLIENT_SECRET: ${{ secrets.CLIENT_SECRET || '' }}
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/destroy-cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ on:
description: ''
required: false

permissions:
contents: read
id-token: write
pull-requests: write

env:
ARM_CLIENT_ID: ${{ secrets.CLIENT_ID || '' }}
ARM_CLIENT_SECRET: ${{ secrets.CLIENT_SECRET || '' }}
Expand Down

0 comments on commit fae408f

Please sign in to comment.