Skip to content

Commit

Permalink
🔧 Add upgrade gradle workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
obecker authored Feb 5, 2024
1 parent 80cd865 commit c93fd01
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/upgrade-gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Gradle wrapper upgrade

on:
schedule:
- cron: '* 5 * * *'

jobs:
upgrade:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Upgrade Gradle
id: gradleUpgrade
uses: EdwarDDay/upgrade-gradle-action@v1.2.1
with:
working-directory: backend

- name: Create pull request
uses: peter-evans/create-pull-request@v6.0.0
with:
commit-message: ":arrow_up: Upgrade gradle to ${{ steps.gradleUpgrade.outputs.gradle-version }}"
branch: "gradle_upgrade/version_${{ steps.gradleUpgrade.outputs.gradle-version }}"
base: main
delete-branch: true
title: ":arrow_up: Upgrade gradle to ${{ steps.gradleUpgrade.outputs.gradle-version }}"
body: |
${{ steps.gradleUpgrade.outputs.version-information }}
Automated changes by [upgrade-gradle-action](https://github.com/EdwarDDay/upgrade-gradle-action) and [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub actions
labels: "dependencies,gradle"

0 comments on commit c93fd01

Please sign in to comment.