ci: scope workflow permissions to job level (#4717)

This commit is contained in:
David Lane
2026-02-13 11:37:14 -05:00
committed by GitHub
parent 941f6453c1
commit 2ef66bcc87
12 changed files with 57 additions and 23 deletions
+3 -2
View File
@@ -1,7 +1,6 @@
---
name: CI-Homebrew
permissions:
contents: read
permissions: {}
on:
workflow_call:
@@ -29,6 +28,8 @@ on:
jobs:
build_homebrew:
name: ${{ matrix.os_name }}-${{ matrix.os_version }}${{ matrix.release == true && ' (Release)' || '' }}
permissions:
contents: read
runs-on: ${{ matrix.os_name }}-${{ matrix.os_version }}
strategy:
fail-fast: false