From 789b4626cdfcea2117b1d3963928fed30c6eed53 Mon Sep 17 00:00:00 2001 From: Matschieu Date: Sun, 19 Jan 2025 23:37:49 +0100 Subject: [PATCH] Add permissions to github workflow --- .github/workflows/maven.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index f2c79a6..be6e3d4 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -3,6 +3,10 @@ name: Java CI with Maven +permissions: + actions: read + contents: read + on: push: branches: [ main ] @@ -11,7 +15,7 @@ on: schedule: - cron: '0 20 * * *' -jobs: +jobs: build: runs-on: ubuntu-latest