forked from gradle/gradle
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 1.08 KB
/
update-jdks.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
36
37
38
39
name: Update jdks.yaml
on:
workflow_dispatch: # Allows manual triggering of the action
schedule: # Runs the action on the first day of every month at 3:42 UTC
- cron: '42 3 1 * *'
permissions:
contents: write
pull-requests: write
jobs:
update-jdks:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- name: Update jdks.yaml
uses: gradle/update-jdks-action@main
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
signoff: true
sign-commits: true
commit-message: "Update jdks.yaml"
add-paths: .teamcity/jdks.yaml
title: "Update jdks.yaml"
body: "This PR updates JDK to the latest versions available in `.teamcity/jdks.yaml`."
delete-branch: true
branch-suffix: timestamp
labels: |
in:building-gradle
@dev-productivity