diff --git a/.github/workflows/update-gradle-wrappers-daily.yml b/.github/workflows/update-gradle-wrappers-daily.yml new file mode 100644 index 0000000000..3c0ab60312 --- /dev/null +++ b/.github/workflows/update-gradle-wrappers-daily.yml @@ -0,0 +1,25 @@ +name: Update gradle wrappers (daily) + +on: + schedule: + # daily at 1:30 UTC + - cron: "30 1 * * *" + workflow_dispatch: + +jobs: + update-gradle-wrapper: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Update Gradle Wrapper + uses: gradle-update/update-gradle-wrapper-action@v1 + + workflow-notification: + needs: + - update-gradle-wrapper + if: always() + uses: ./.github/workflows/reusable-workflow-notification.yml + with: + success: ${{ needs.analyze.result == 'success' }}