From e9ea9a8293ba3566e1edec73d10c52ae2039902f Mon Sep 17 00:00:00 2001 From: Cristian Greco Date: Fri, 6 Nov 2020 15:38:09 +0000 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. Signed-off-by: Cristian Greco --- .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 0000000000..65bd1f53ff --- /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 }}