-
Notifications
You must be signed in to change notification settings - Fork 9
35 lines (30 loc) · 1.28 KB
/
update-gradle-wrapper.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- name: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: update gradle
id: gradleUpdate
uses: EdwarDDay/upgrade-gradle-action@3b3788a65fe8c6d24ee63acbf09a3d59e39b4f0b # v1.5.0
with:
working-directory: gradle-plugin
- name: create pull request
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
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"