Skip to content

Update Gradle Wrapper #830

Update Gradle Wrapper

Update Gradle Wrapper #830

name: Update Gradle Wrapper
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
update-gradle-wrapper:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
timeout-minutes: 1
- name: Setup Java
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
timeout-minutes: 5
with:
distribution: zulu
java-version: 21
cache: gradle
- name: Update Gradle Wrapper
uses: gradle-update/update-gradle-wrapper-action@9268373d69bd0974b6318eb3b512b8e025060bbe # v2.0.0
with:
repo-token: ${{ secrets.GH_PAT_REPO_SCOPE_FOR_ACTIONS_THAT_OPEN_PRS }}
merge-method: SQUASH
# NOTE: Can not set reviewer to self (`ChrisCarini`) because using PAT for self.
# From Docs:
# Note that if you're using a Personal Access Token (PAT) as repo-token you cannot
# request a review from the user that the PAT belongs to.
# Ref: https://github.com/gradle-update/update-gradle-wrapper-action#reviewers
# reviewers: |
# ChrisCarini