summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex <aleksandrosansan@gmail.com>2022-12-08 18:48:54 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2022-12-08 19:39:06 +0100
commit30dd944c74f39298a89a717abc15f8c21c9cd123 (patch)
tree995f275eb01108274a25de81e80c085a9bb19900
parent823dc5acc43b09c62e2d33b4cdff00e70aa8990a (diff)
build: harden build.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
-rw-r--r--.github/workflows/build.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 763d46faf..60d9f5545 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -6,6 +6,9 @@ env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
+permissions:
+ contents: read # to fetch code (actions/checkout)
+
jobs:
build-linux:
# The CMake configure and build commands are platform agnostic and should work equally