Add permissions block to workflows

This commit is contained in:
Sirz Benjie 2025-09-25 11:36:47 -05:00
parent fb8956007c
commit ef409fde2a
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E
2 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,9 @@ on:
push:
pull_request:
permissions:
contents: read
jobs:
build:
name: Build (${{ matrix.os_name }})

View File

@ -4,6 +4,10 @@ on:
push:
branches:
- master
permissions:
contents: read
jobs:
build:
name: Build and publish to GHCR