Skip to content

Commit 78671f4

Browse files
committed
Refactor dotnet.yml to include specific paths for push and pull_request events and update permissions for id-token and contents
1 parent e21d437 commit 78671f4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/dotnet.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
workflow_dispatch:
1616

1717

18+
permissions:
19+
id-token: write
20+
contents: read
21+
1822
env:
1923
registryName: "q3zpru2gmy754mpnpreg.azurecr.io" # Replace registryName with the name of your registry
2024
repositoryName: "techexcel/dotnetcoreapp"

0 commit comments

Comments
 (0)