Tag release #146
This file contains 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: Tag release | |
on: | |
schedule: | |
- cron: "42 10 * * 2,4" | |
workflow_dispatch: | |
jobs: | |
tag-release: | |
name: Tag release | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.RELEASE_PAT }} | |
fetch-depth: 0 | |
- uses: actions/checkout@v2 | |
- name: Install toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install Cargo Bump | |
uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: cargo-bump | |
- name: Generate, commit and push changelog | |
id: changelog | |
uses: TriPSs/conventional-changelog-action@v3 | |
with: | |
github-token: ${{ secrets.RELEASE_PAT }} | |
skip-git-pull: "true" | |
pre-commit: build/pre-commit.js | |
release-count: 0 | |
version-file: Cargo.toml | |
version-path: "package.version" |