Add permissions to workflows

This commit is contained in:
Marc Ole Bulling
2025-05-31 15:25:25 +02:00
parent a2c032ed07
commit 0afc7a5660
4 changed files with 14 additions and 4 deletions
@@ -1,10 +1,13 @@
name: Docker Publish Dev Multiarch
on:
workflow_dispatch:
workflow_dispatch: {}
push:
branches: master
branches:
- master
permissions:
contents: read
jobs:
build:
@@ -1,13 +1,15 @@
name: Docker Publish Custom Release Multiarch
on:
workflow_dispatch:
workflow_dispatch: {}
inputs:
tagname:
description: 'Tag name to be built'
required: true
permissions:
contents: read
jobs:
build:
@@ -1,11 +1,14 @@
name: Docker Publish Release Multiarch
on:
workflow_dispatch:
workflow_dispatch: {}
release:
types: [released]
permissions:
contents: read
jobs:
build:
+2
View File
@@ -1,6 +1,8 @@
name: Compile and run unit tests
on: [workflow_dispatch, push, pull_request]
permissions:
contents: read
jobs:
build: