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: push:
pull_request: pull_request:
permissions:
contents: read
jobs: jobs:
build: build:
name: Build (${{ matrix.os_name }}) name: Build (${{ matrix.os_name }})

View File

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