mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-20 18:06:14 -05:00
[gh-actions] Add permissions to workflows as suggested by Github
This commit is contained in:
2
.github/workflows/build_htdocs.yml
vendored
2
.github/workflows/build_htdocs.yml
vendored
@@ -1,4 +1,6 @@
|
|||||||
name: Build htdocs
|
name: Build htdocs
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|||||||
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
@@ -1,4 +1,6 @@
|
|||||||
name: "CodeQL"
|
name: "CodeQL"
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|||||||
2
.github/workflows/freebsd.yml
vendored
2
.github/workflows/freebsd.yml
vendored
@@ -1,4 +1,6 @@
|
|||||||
name: FreeBSD
|
name: FreeBSD
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|||||||
2
.github/workflows/gh-pages.yml
vendored
2
.github/workflows/gh-pages.yml
vendored
@@ -1,4 +1,6 @@
|
|||||||
name: build and deploy mkdocs to github pages
|
name: build and deploy mkdocs to github pages
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
|||||||
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
@@ -1,4 +1,6 @@
|
|||||||
name: macOS
|
name: macOS
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|||||||
2
.github/workflows/macos_12.yml
vendored
2
.github/workflows/macos_12.yml
vendored
@@ -1,4 +1,6 @@
|
|||||||
name: macOS 12
|
name: macOS 12
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|||||||
2
.github/workflows/ubuntu.yml
vendored
2
.github/workflows/ubuntu.yml
vendored
@@ -1,4 +1,6 @@
|
|||||||
name: Ubuntu
|
name: Ubuntu
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|||||||
2
.github/workflows/webui_lint.yml
vendored
2
.github/workflows/webui_lint.yml
vendored
@@ -1,4 +1,6 @@
|
|||||||
name: Web UI Lint
|
name: Web UI Lint
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|||||||
Reference in New Issue
Block a user