name: Main Pipeline
on:
push:
branches:
- main
jobs:
bump_version:
name: Bump Cargo.toml Version
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out repo
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 with:
fetch-depth: 0
token: ${{ secrets.RELEASE_TOKEN }}
- name: Bump Cargo.toml version
uses: TriPSs/conventional-changelog-action@952b14bbc4be87e8458a6ac5926fc655608b1b19 with:
git-message: 'chore: Bumping Cargo version to {version}'
github-token: ${{ secrets.RELEASE_TOKEN }}
output-file: 'false'
preset: conventionalcommits
skip-git-pull: 'true'
skip-on-empty: 'true'
skip-tag: 'true'
tag-prefix: ''
version-file: './Cargo.toml'
version-path: 'package.version'