Skip to content

feat: metrics NG (#22) #24

feat: metrics NG (#22)

feat: metrics NG (#22) #24

Workflow file for this run

name: "release"
on:
push:
branches: ["main"]
paths-ignore:
- ".github/**"
- "docs/**"
- "README.md"
workflow_dispatch:
jobs:
run-tests:
uses: ./.github/workflows/ci.yaml
secrets: inherit
release:
needs: [run-tests]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: "Cocogitto release"
id: release
uses: cocogitto/cocogitto-action@v3
with:
check: true
check-latest-tag-only: true
release: true
git-user: "github-actions"
git-user-email: "[email protected]"
- name: "Generate Changelog"
run: cog changelog --at ${{ steps.release.outputs.version }} -t full_hash > GITHUB_CHANGELOG.md
- name: "Update Github release notes"
uses: softprops/action-gh-release@v1
with:
body_path: GITHUB_CHANGELOG.md
tag_name: ${{ steps.release.outputs.version }}
token: ${{ secrets.RELEASE_PAT }}