From c540fca8a07bf6902d490007fbc6576eaa8eebeb Mon Sep 17 00:00:00 2001 From: Guillermo Calvo Date: Sat, 15 Jun 2024 18:31:31 +0200 Subject: [PATCH] Schedule Gradle Wrapper updates --- .github/workflows/update-gradle-wrapper.yml | 32 +++++++++++++++++++++ 1 file changed, 32 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..b0c28b6 --- /dev/null +++ b/.github/workflows/update-gradle-wrapper.yml @@ -0,0 +1,32 @@ + +# Schedule Gradle Wrapper updates +name: Update Gradle Wrapper + +on: + schedule: + - cron: "0 8 * * *" + workflow_dispatch: + +jobs: + update-gradle-wrapper: + + name: Update Gradle Wrapper + runs-on: ubuntu-latest + + steps: + + # ================================ + # SHALLOW CLONE + # ================================ + - name: Shallow clone + uses: actions/checkout@v4 + + # ================================ + # UPDATE GRADLE WRAPPER + # ================================ + - name: Update Gradle Wrapper + uses: gradle-update/update-gradle-wrapper-action@v1 + with: + release-channel: stable + base-branch: develop + target-branch: develop