Skip to content

Commit 3fba144

Browse files
committed
Move permissions from workflow level to job level
1 parent d9decd0 commit 3fba144

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/deploy-to-azure.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ concurrency:
99
group: deploy-to-azure
1010
cancel-in-progress: false
1111

12-
permissions:
13-
id-token: write
14-
contents: read
15-
1612
env:
1713
AZURE_WEBAPP_NAME: e2e-security-web-appsrv-dev # set this to the name of your Azure App Service
1814
AZURE_WEBAPP_PACKAGE_PATH: "."
@@ -24,6 +20,10 @@ jobs:
2420
build:
2521
runs-on: ubuntu-latest
2622

23+
permissions:
24+
contents: read
25+
id-token: write
26+
2727
steps:
2828
- uses: actions/checkout@v4
2929

0 commit comments

Comments
 (0)