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
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -63,6 +66,8 @@ jobs:
|
||||
path: ${{env.DOTNET_ROOT}}/myapp
|
||||
|
||||
deploy:
|
||||
permissions:
|
||||
contents: none
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user