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

View File

@@ -1,7 +1,6 @@
---
name: CI-Archlinux
permissions:
contents: read
permissions: {}
on:
workflow_call:
@@ -24,6 +23,8 @@ jobs:
BUILD_VERSION: ${{ inputs.release_version }}
CLONE_URL: ${{ github.event.repository.clone_url }}
COMMIT: ${{ inputs.release_commit }}
permissions:
contents: read
runs-on: ubuntu-latest
container:
image: archlinux/archlinux:base-devel