Skip to content

Commit c5fa31a

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

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/main_primechecker.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ env:
1414
PACKAGE_DIRECTORY: '.' # set this to the directory which contains pom.xml file
1515
JAVA_VERSION: '21' # set this to the java version to use
1616

17+
permissions:
18+
id-token: write
19+
contents: read
20+
1721
jobs:
1822
build-and-deploy:
1923
runs-on: ubuntu-latest
@@ -40,6 +44,7 @@ jobs:
4044
client-id: ${{ secrets.AZURE_CLIENT_ID }}
4145
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
4246
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
47+
auth-type: OIDC
4348

4449
- name: 'Run Azure Functions Action'
4550
uses: Azure/functions-action@v1

0 commit comments

Comments
 (0)