From 62f620f79be278397ebaad25b0d3007e5f460e17 Mon Sep 17 00:00:00 2001 From: Cristian Greco Date: Wed, 23 Sep 2020 20:21:43 +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. Signed-off-by: Cristian Greco --- .github/workflows/update-gradle-wrapper.yml | 18 ++++++++++++++++++ CHANGES.md | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) 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..4a786a9339 --- /dev/null +++ b/.github/workflows/update-gradle-wrapper.yml @@ -0,0 +1,18 @@ +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 }} + target-branch: develop diff --git a/CHANGES.md b/CHANGES.md index a4d1976a04..294747619c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -27,7 +27,7 @@ SDK API changes ⚠️: - Rename `tryThis` to `tryOrNull` Build 🧱: - - + - Update Gradle Wrapper Action Other changes: - Add an advanced action to reset an account data entry