We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82557e0 commit f732753Copy full SHA for f732753
1 file changed
.github/workflows/main_primechecker.yml
@@ -9,6 +9,10 @@ on:
9
- main
10
workflow_dispatch:
11
12
+permissions:
13
+ id-token: write
14
+ contents: read
15
+
16
env:
17
AZURE_FUNCTIONAPP_NAME: primechecker # set this to your function app name on Azure
18
PACKAGE_DIRECTORY: '.' # set this to the directory which contains pom.xml file
@@ -37,10 +41,9 @@ jobs:
37
41
- name: Azure login
38
42
uses: azure/login@v2
39
43
with:
40
- auth-type: IDENTITY
44
+ client-id: ${{ secrets.AZURE_CLIENT_ID }}
45
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
46
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- enable-AzPSSession: true
47
48
- name: 'Run Azure Functions Action'
49
uses: Azure/functions-action@v1
0 commit comments