From c5f9ead75a54d942065550d921e4a3dc2a091ad9 Mon Sep 17 00:00:00 2001 From: mjpt777 Date: Tue, 31 May 2022 09:27:03 +0100 Subject: [PATCH] Restrict Actions permissions to read. --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 07c1b0f94..c53954e3a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,9 @@ concurrency: env: GRADLE_OPTS: '-Dorg.gradle.daemon=false -Dorg.gradle.java.installations.auto-detect=false -Dorg.gradle.warning.mode=fail' +permissions: + contents: read + jobs: build: name: Java ${{ matrix.java }} (${{ matrix.os }})