From 95936b647c0283cc6ebd2b685cc5b72889cda8bd Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Mon, 27 Nov 2023 18:09:09 +0100 Subject: tests.yml: Lock CI permissions down for security --- .github/workflows/tests.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.github') diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a7d232e..a406be0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,6 +10,10 @@ on: - cron: '0 3 * * 5' # Every Friday at 3am workflow_dispatch: +# Minimum permissions for security +permissions: + contents: read + jobs: linux: name: Build (${{ matrix.cc }} and ${{ matrix.fuse_package }} on ${{ matrix.runs-on }}) -- cgit v1.2.3