name: Version PR
on:
push:
branches: [main]
permissions:
contents: write
pull-requests: write
env:
GIT_CONFIG_COUNT: "1"
GIT_CONFIG_KEY_0: init.defaultBranch
GIT_CONFIG_VALUE_0: main
concurrency:
group: version-pr-${{ github.ref }}
cancel-in-progress: true
jobs:
prepare:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 with:
fetch-depth: 0
fetch-tags: true
- name: Set up mise
uses: jdx/mise-action@7e36c90d9ab29c415a2384db3006f3ec8a8cc654 with:
version: 2026.8.2
cache: true
- run: mise install --locked
- name: Install verctl
run: cargo install --git https://github.com/victor-software-house/verctl --locked --force
- uses: victor-software-house/verctl/actions/version-pr@main