Skip to content

Update Gradle Wrapper #25

Update Gradle Wrapper

Update Gradle Wrapper #25

name: Update Gradle Wrapper
on:
schedule:
- cron: '0 0 1 * *'
jobs:
update-gradle-wrapper:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
with:
egress-policy: audit
- name: checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: update gradle
id: gradleUpdate
uses: EdwarDDay/upgrade-gradle-action@305cc571d6352f439bd0f88ca32d681c0c62324c # v1.3.0
with:
working-directory: gradle-plugin
- name: create pull request
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
with:
commit-message: "Update gradle to ${{ steps.gradleUpdate.outputs.gradle-version }}"
branch: "gradle_update/version_${{ steps.gradleUpdate.outputs.gradle-version }}"
delete-branch: true
title: "Update gradle to ${{ steps.gradleUpdate.outputs.gradle-version }}"
body: |
${{ steps.gradleUpdate.outputs.version-information }}
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
labels: "dependencies,gradle"