mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-20 01:50:26 -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
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
@@ -1,4 +1,6 @@
|
||||
name: "CodeQL"
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
2
.github/workflows/freebsd.yml
vendored
2
.github/workflows/freebsd.yml
vendored
@@ -1,4 +1,6 @@
|
||||
name: FreeBSD
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
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
|
||||
permissions:
|
||||
contents: write
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
||||
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
@@ -1,4 +1,6 @@
|
||||
name: macOS
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
2
.github/workflows/macos_12.yml
vendored
2
.github/workflows/macos_12.yml
vendored
@@ -1,4 +1,6 @@
|
||||
name: macOS 12
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
2
.github/workflows/ubuntu.yml
vendored
2
.github/workflows/ubuntu.yml
vendored
@@ -1,4 +1,6 @@
|
||||
name: Ubuntu
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
2
.github/workflows/webui_lint.yml
vendored
2
.github/workflows/webui_lint.yml
vendored
@@ -1,4 +1,6 @@
|
||||
name: Web UI Lint
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
Reference in New Issue
Block a user