diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a67df56..3f22f83 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,6 +8,9 @@ name: Build and Tests +permissions: + contents: read + on: push: branches: ["master"] @@ -20,6 +23,8 @@ on: jobs: mvn-install: + permissions: + contents: write strategy: matrix: java: [17, 21, 25] diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml index 7652e8f..ea47359 100644 --- a/.github/workflows/codestyle.yml +++ b/.github/workflows/codestyle.yml @@ -8,6 +8,9 @@ name: Google Java Codestyle +permissions: + contents: read + on: push: branches: ["master"]