Skip to content

Merge pull request #193 from sandialabs/add-json-converter #19

Merge pull request #193 from sandialabs/add-json-converter

Merge pull request #193 from sandialabs/add-json-converter #19

# This workflow will auto-version when pull-requests are merged to main.
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Version, Changelog, and Release
on:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: write
jobs:
vcr:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.AMM }}
fetch-depth: 0
- name: Conventional Changelog Action
id: changelog
uses: TriPSs/[email protected]
with:
github-token: ${{ secrets.AMM }}
version-file: 'VERSION.json'
release-count: 0
git-message: ${{ github.event.head_commit.message }}
- name: Create Release
uses: actions/create-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.AMM }}
with:
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}