Skip to content

Update Dependencies #58

Update Dependencies

Update Dependencies #58

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