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