Merge pull request #1487 from Devils-Knight/permks-12

Add token permissions for deployments/azure-webapps-java-jar.yml
This commit is contained in:
Sampark Sharma
2022-05-16 16:34:02 +05:30
committed by GitHub
+5
View File
@@ -30,6 +30,9 @@ on:
- $default-branch
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
@@ -54,6 +57,8 @@ jobs:
path: '${{ github.workspace }}/target/*.jar'
deploy:
permissions:
contents: none
runs-on: ubuntu-latest
needs: build
environment: