build: harden upload-doc.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
Alex 2022-11-04 01:20:02 +02:00
parent 1604a0c018
commit e169c5a840
1 changed files with 4 additions and 0 deletions

View File

@ -4,8 +4,12 @@ on:
push:
branches: [master]
permissions: {}
jobs:
build:
permissions:
contents: write # to push changes in repo (jamesives/github-pages-deploy-action)
runs-on: ubuntu-latest
steps: