From 266a49f73bc3957c7b73a480d251ab84d270ba5a Mon Sep 17 00:00:00 2001 From: Cristian Greco Date: Wed, 23 Sep 2020 00:19:05 +0200 Subject: [PATCH] Add workflow for Update Gradle Wrapper Action. This action keeps Gradle Wrapper up-to-date to the latest release. It will run every day at midnight (UTC) and create a pull request if a new Gradle version is available. The updated Wrapper script is validated (with checksum verification) during the update process, and the Wrapper is setup so that it will validate the Gradle binary itself on first run of the new version. --- .github/workflows/update-gradle-wrapper.yml | 17 +++++++++++++++++ 1 file changed, 17 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..65bd1f5 --- /dev/null +++ b/.github/workflows/update-gradle-wrapper.yml @@ -0,0 +1,17 @@ +name: Update Gradle Wrapper + +on: + schedule: + - cron: "0 0 * * *" + +jobs: + update-gradle-wrapper: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Update Gradle Wrapper + uses: gradle-update/update-gradle-wrapper-action@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }}