From 78a2c9002ce0425e317dc17ec0a5deb7f9e0a97f Mon Sep 17 00:00:00 2001 From: Eduard Kuksa Date: Tue, 14 Jan 2025 21:02:25 +0700 Subject: [PATCH] add permissions in action --- .gitea/workflows/maven.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/maven.yaml b/.gitea/workflows/maven.yaml index daeaf2c..a76e3d1 100644 --- a/.gitea/workflows/maven.yaml +++ b/.gitea/workflows/maven.yaml @@ -7,6 +7,10 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + contents: write + checks: write + pull-requests: write steps: - name: Checkout the repo uses: actions/checkout@v4 @@ -21,5 +25,4 @@ jobs: distribution: 'oracle' cache: 'maven' - name: Build with Maven - run: mvn test -# run: mvn -B package --file pom.xml \ No newline at end of file + run: mvn -B package --file pom.xml \ No newline at end of file