Skip to content

Commit 82557e0

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

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/main_primechecker.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ 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-
2117
jobs:
2218
build-and-deploy:
2319
runs-on: ubuntu-latest
@@ -41,10 +37,10 @@ jobs:
4137
- name: Azure login
4238
uses: azure/login@v2
4339
with:
44-
client-id: ${{ secrets.AZURE_CLIENT_ID }}
40+
auth-type: IDENTITY
4541
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
4642
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
47-
auth-type: OIDC
43+
enable-AzPSSession: true
4844

4945
- name: 'Run Azure Functions Action'
5046
uses: Azure/functions-action@v1

0 commit comments

Comments
 (0)