mirror of
https://github.com/element-hq/synapse.git
synced 2026-08-14 09:20:49 +00:00
Fix broad permissions in the docs.yaml workflow
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
name: Deploy the documentation
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@@ -46,6 +49,8 @@ jobs:
|
||||
################################################################################
|
||||
pages-docs:
|
||||
name: GitHub Pages
|
||||
permissions:
|
||||
contents: write
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- pre
|
||||
|
||||
Reference in New Issue
Block a user