Update pack versions #8714
This file contains hidden or 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 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 |