Merge pull request #1488 from Devils-Knight/permks-13

Add token permissions for deployments/azure-webapps-node.yml
This commit is contained in:
Sampark Sharma
2022-05-16 16:38:34 +05:30
committed by GitHub
+5
View File
@@ -28,6 +28,9 @@ env:
AZURE_WEBAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
NODE_VERSION: '14.x' # set this to the node version to use
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
@@ -53,6 +56,8 @@ jobs:
path: .
deploy:
permissions:
contents: none
runs-on: ubuntu-latest
needs: build
environment: