[pre-commit.ci] pre-commit autoupdate #71
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: Release | |
on: | |
push: | |
branches: | |
- '*' # all branches | |
- '!main' # exclude main branch | |
- '!master' # exclude main branch | |
jobs: | |
changelog: | |
name: Changelog | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: '0' | |
- name: Install GitVersion | |
uses: gittools/actions/gitversion/[email protected] | |
with: | |
versionSpec: '5.x' | |
- name: Use GitVersion | |
uses: gittools/actions/gitversion/[email protected] | |
id: gitversion | |
- name: Changelog | |
id: changelog | |
uses: nuuday/[email protected] | |
with: | |
next_version: "${{ steps.gitversion.outputs.majorMinorPatch }}" | |
- name: Commit Changelog | |
uses: stefanzweifel/git-auto-commit-action@v4 |