Skip to content

Commit

Permalink
feat: automatically update the Gradle wrapper (#20)
Browse files Browse the repository at this point in the history
Added GitHub workflow to automatically update the Gradle wrapper.

Solves PZ-1039
  • Loading branch information
edgarvonk authored Jan 3, 2024
1 parent 46ceddd commit 36e9f15
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/update-gradle-wrapper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#
# SPDX-FileCopyrightText: 2023 Lifely
# SPDX-License-Identifier: EUPL-1.2+
#
name: Update Gradle Wrapper

# This workflow uses the Update Gradle Wrapper action to create a Pull Request if there is a new Gradle Wrapper version available.
# Do note that this PR does _not_ automatically trigger any other workflows.
# As a workaround to trigger our normal PR workflows you can manually close and then immediately reopen the PR. See:
# https://github.com/gradle-update/update-gradle-wrapper-action#running-ci-workflows-in-pull-requests-created-by-the-action

on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"

jobs:
update-gradle-wrapper:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Update Gradle Wrapper
uses: gradle-update/update-gradle-wrapper-action@v1

0 comments on commit 36e9f15

Please sign in to comment.