[gh-actions] Add permissions to workflows as suggested by Github

This commit is contained in:
ejurgensen
2025-11-12 22:55:44 +01:00
parent 520b9c6a2a
commit 293f3bcc54
8 changed files with 16 additions and 0 deletions

View File

@@ -1,4 +1,6 @@
name: Build htdocs
permissions:
contents: write
on:
push:

View File

@@ -1,4 +1,6 @@
name: "CodeQL"
permissions:
contents: read
on:
push:

View File

@@ -1,4 +1,6 @@
name: FreeBSD
permissions:
contents: read
on:
push:

View File

@@ -1,4 +1,6 @@
name: build and deploy mkdocs to github pages
permissions:
contents: write
on:
push:
branches:

View File

@@ -1,4 +1,6 @@
name: macOS
permissions:
contents: read
on:
push:

View File

@@ -1,4 +1,6 @@
name: macOS 12
permissions:
contents: read
on:
workflow_dispatch:

View File

@@ -1,4 +1,6 @@
name: Ubuntu
permissions:
contents: read
on:
push:

View File

@@ -1,4 +1,6 @@
name: Web UI Lint
permissions:
contents: read
on:
push: