added token permissions

This commit is contained in:
h0x0er
2022-02-11 16:56:36 +05:30
committed by GitHub
parent e9cc9b14bc
commit 6e8e5830e9
+5
View File
@@ -35,6 +35,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:
file: ./Dockerfile file: ./Dockerfile
deploy: deploy:
permissions:
contents: none
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
environment: environment: