ci: scope workflow permissions to job level (#4717)
This commit is contained in:
5
.github/workflows/ci-archlinux.yml
vendored
5
.github/workflows/ci-archlinux.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user