From bcdc86289a435f534188a66363dc49d211be40ee Mon Sep 17 00:00:00 2001 From: Holger Jannasch Date: Wed, 3 Jan 2024 11:19:03 +0100 Subject: [PATCH] Fix workflows 3 --- .github/workflows/codeql.yml | 6 +++++- .github/workflows/maven.yml | 4 ---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index d99742f..aa76f25 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -21,4 +21,8 @@ on: jobs: maven-build: - uses: hjannasch/workflows-java/.github/workflows/java-maven-codeql.yml@main \ No newline at end of file + uses: hjannasch/workflows-java/.github/workflows/java-maven-codeql.yml@main + permissions: + actions: read + contents: read + security-events: write \ No newline at end of file diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index a0d5ed8..8a3e69e 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -17,7 +17,3 @@ on: jobs: maven-build: uses: hjannasch/workflows-java/.github/workflows/java-maven-build.yml@main - permissions: - actions: read - contents: read - security-events: write \ No newline at end of file