Skip to content

Commit f732753

Browse files
committed
updated GitHub workflow azure login config
Signed-off-by: Konstantin Läufer <laufer@cs.luc.edu>
1 parent 82557e0 commit f732753

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/main_primechecker.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
- main
1010
workflow_dispatch:
1111

12+
permissions:
13+
id-token: write
14+
contents: read
15+
1216
env:
1317
AZURE_FUNCTIONAPP_NAME: primechecker # set this to your function app name on Azure
1418
PACKAGE_DIRECTORY: '.' # set this to the directory which contains pom.xml file
@@ -37,10 +41,9 @@ jobs:
3741
- name: Azure login
3842
uses: azure/login@v2
3943
with:
40-
auth-type: IDENTITY
44+
client-id: ${{ secrets.AZURE_CLIENT_ID }}
4145
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
4246
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
43-
enable-AzPSSession: true
4447

4548
- name: 'Run Azure Functions Action'
4649
uses: Azure/functions-action@v1

0 commit comments

Comments
 (0)