From 1abfae652bbbb0ebd714cdc09dbd8a3ea9776541 Mon Sep 17 00:00:00 2001 From: JordonPhillips Date: Wed, 26 Feb 2025 13:46:06 +0100 Subject: [PATCH] Add GitHub Action to update Gradle wrapper This adds a GitHub Action that creates a pull request to update the gradle wrapper. We can't use dependabot for this because it doesn't support it (https://github.com/dependabot/dependabot-core/issues/2223). --- .github/workflows/update-gradle-wrapper.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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 000000000..06f104fda --- /dev/null +++ b/.github/workflows/update-gradle-wrapper.yml @@ -0,0 +1,20 @@ +name: Update Gradle Wrapper +# Needed because dependabot doesn't support updating the gradle wrapper +# see: https://github.com/dependabot/dependabot-core/issues/2223 + +on: + schedule: + # Run at midnight (UTC) every wednesday + - cron: "0 0 * * 3" + +jobs: + update-gradle-wrapper: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Update Gradle Wrapper + uses: gradle-update/update-gradle-wrapper-action@v2 + with: + paths: codegen/**