aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2023-11-27 18:09:09 +0100
committerSebastian Pipping <sebastian@pipping.org>2023-11-27 18:09:09 +0100
commit95936b647c0283cc6ebd2b685cc5b72889cda8bd (patch)
tree1893e5ef17e742af85870f74ad683297f90983a6
parent53f0973a2e23d6a0ce68b8fb9f5b8bc3ed50e8b6 (diff)
downloadbindfs-95936b647c0283cc6ebd2b685cc5b72889cda8bd.tar.gz
tests.yml: Lock CI permissions down for security
-rw-r--r--.github/workflows/tests.yml4
1 files changed, 4 insertions, 0 deletions
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 }})