From b424cbb220aadf76b3b138e6f87e155d996e7488 Mon Sep 17 00:00:00 2001 From: Jason Owen Date: Mon, 5 Aug 2024 15:07:03 -0700 Subject: [PATCH] Check for Gradle updates weekly Use the Update Gradle Wrapper Action[1] to periodically check for new versions of Gradle, and open a PR to update the wrapper when a new version is available. This is a workaround until dependabot support[2] is implemented. [1] https://github.com/marketplace/actions/update-gradle-wrapper-action [2] https://github.com/dependabot/dependabot-core/issues/2223 --- .github/workflows/update-gradle-wrapper.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/update-gradle-wrapper.yml diff --git a/.github/workflows/update-gradle-wrapper.yml b/.github/workflows/update-gradle-wrapper.yml new file mode 100644 index 0000000..406cd2c --- /dev/null +++ b/.github/workflows/update-gradle-wrapper.yml @@ -0,0 +1,15 @@ +name: Update Gradle Wrapper + +on: + schedule: + - cron: "0 0 * * Mon" + +jobs: + update-gradle-wrapper: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Update Gradle Wrapper + uses: gradle-update/update-gradle-wrapper-action@v1