Skip to content

feat: publish verify attestation (#82) #58

feat: publish verify attestation (#82)

feat: publish verify attestation (#82) #58

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: "github-actions@github.com"
- 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 }}