Set token as environment variable for Gradle (#1404)

This commit is contained in:
Matt Bishop 2024-05-30 11:48:29 -04:00 committed by Álison Fernandes
parent 9e8bab2b81
commit a8e87d5509
2 changed files with 4 additions and 1 deletions

View file

@ -23,6 +23,7 @@ on:
type: boolean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JAVA_VERSION: 17
jobs:

View file

@ -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