Merge pull request #1476 from Devils-Knight/permks-1
Add token permissions for deployments/azure-webapps-python.yml
This commit is contained in:
@@ -29,6 +29,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
|
||||||
@@ -61,6 +64,8 @@ jobs:
|
|||||||
!venv/
|
!venv/
|
||||||
|
|
||||||
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