Skip to content

Update pack versions #8720

Update pack versions

Update pack versions #8720

name: Update pack versions
permissions:
contents: read
pull-requests: write
on:
schedule:
- cron: '30 * * * *'
workflow_dispatch:
jobs:
update:
runs-on: self-hosted
strategy:
fail-fast: false
matrix:
branch:
- main
# Add active maintenance branches here, one per line.
# - v1.x
name: Update pack versions (${{ matrix.branch }})
steps:
- name: Checkout
uses: actions/checkout@v7.0.0
with:
ref: ${{ matrix.branch }}
fetch-depth: 0
- name: Update pack formats
uses: meza/action-minecraft-pack-versions@v1.0.24
with:
github_token: ${{ secrets.GH_TOKEN }}
output_path: src/main/resources/pack_versions.json
pr_branch: 'bot/pack-format/${{ matrix.branch }}'
pr_base: ${{ matrix.branch }}
commit_enabled: true
commit_type: fix
commit_scope: pack-format
auto_merge: true