Skip to content

Commit

Permalink
feat: update Azure Container Apps workflow to include permissions for…
Browse files Browse the repository at this point in the history
… id-token and contents
  • Loading branch information
glaucia86 committed Feb 12, 2025
1 parent 111346d commit 0f785f2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/azure-container-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches: ['main']
workflow_dispatch:

permissions:
id-token: write
contents: read

env:
CONTAINER_APP_NAME: microblog-ai
CONTAINER_APP_RESOURCE_GROUP: aswa-remix
Expand All @@ -13,6 +17,10 @@ env:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
steps:
- uses: actions/[email protected]

Expand Down Expand Up @@ -45,6 +53,9 @@ jobs:
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Azure Login
uses: azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2
Expand Down

0 comments on commit 0f785f2

Please sign in to comment.