Update Dependencies #53
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Dependencies | |
on: | |
schedule: | |
- cron: '15 14 * * 5' # minute and hour are randomized to avoid peak hours | |
workflow_dispatch: # enables manual running this workflow | |
env: | |
JAVA_VERSION: 21 # must be the same as the version used in build.gradle | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Update Dependencies | |
id: depup | |
uses: LucunJi/[email protected] | |
- name: Pull Request | |
if: ${{ success() && steps.depup.outputs.any_update == 'true' }} | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
token: ${{ secrets.MC_DEPUP_PR_PAT }} | |
add-paths: gradle.properties | |
commit-message: Update dependencies | |
title: Update dependencies | |
body: ${{ steps.depup.outputs.summary }} | |
branch: automated/update-dependencies | |