mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-06 11:09:29 +00:00
Added permissions to github actions
This commit is contained in:
parent
80482f7294
commit
5238be1460
5 changed files with 22 additions and 7 deletions
3
.github/workflows/assets_artifact_build.yml
vendored
3
.github/workflows/assets_artifact_build.yml
vendored
|
|
@ -1,5 +1,8 @@
|
||||||
name: Build assets artifact
|
name: Build assets artifact
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
|
|
||||||
3
.github/workflows/docker_build.yml
vendored
3
.github/workflows/docker_build.yml
vendored
|
|
@ -1,5 +1,8 @@
|
||||||
name: Docker Image Build
|
name: Docker Image Build
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
#schedule:
|
#schedule:
|
||||||
# - cron: '0 10 * * *' # everyday at 10am
|
# - cron: '0 10 * * *' # everyday at 10am
|
||||||
|
|
|
||||||
3
.github/workflows/docker_frankenphp.yml
vendored
3
.github/workflows/docker_frankenphp.yml
vendored
|
|
@ -1,5 +1,8 @@
|
||||||
name: Docker Image Build (FrankenPHP)
|
name: Docker Image Build (FrankenPHP)
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
#schedule:
|
#schedule:
|
||||||
# - cron: '0 10 * * *' # everyday at 10am
|
# - cron: '0 10 * * *' # everyday at 10am
|
||||||
|
|
|
||||||
3
.github/workflows/static_analysis.yml
vendored
3
.github/workflows/static_analysis.yml
vendored
|
|
@ -1,5 +1,8 @@
|
||||||
name: Static analysis
|
name: Static analysis
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
|
|
||||||
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
|
|
@ -1,5 +1,8 @@
|
||||||
name: PHPUnit Tests
|
name: PHPUnit Tests
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue