diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 30bdc4d5c..8fc5bfbbf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,6 +23,7 @@ on: type: boolean env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} JAVA_VERSION: 17 jobs: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f842dfe3c..a66c8a428 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,6 +10,7 @@ on: types: [opened, synchronize] env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} JAVA_VERSION: 17 jobs: @@ -23,8 +24,9 @@ jobs: needs: check-run permissions: contents: read - pull-requests: write + issues: write packages: read + pull-requests: write steps: - name: Check out repo