Merge pull request #1486 from Devils-Knight/permks-11
Add token permissions for deployments/azure-webapps-dotnet-core.yml
This commit is contained in:
@@ -30,6 +30,9 @@ on:
|
|||||||
- $default-branch
|
- $default-branch
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -63,6 +66,8 @@ jobs:
|
|||||||
path: ${{env.DOTNET_ROOT}}/myapp
|
path: ${{env.DOTNET_ROOT}}/myapp
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
permissions:
|
||||||
|
contents: none
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user