Skip to content

fix(v2): add marker for v2.0.1 patch #5

fix(v2): add marker for v2.0.1 patch

fix(v2): add marker for v2.0.1 patch #5

name: release on tag push
on:
push:
tags:
- "v*"
permissions:
id-token: write
contents: write
pull-requests: write
issues: write
actions: read
checks: read
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
- name: generate changelog with pullfrog
id: changelog
uses: pullfrog/pullfrog@main
with:
agent: codex
effort: auto
timeout: 20m
prompt: |
Generate the release changelog markdown for tag ${{ github.ref_name }}.
Requirements:
- Use git cli to determine the previous release tag and the diff/range since that tag.
- Use git cli output to summarize notable changes.
- If there is no previous release tag, summarize the full history up to this tag.
- Keep output concise and factual.
- Output valid markdown for a GitHub Release body.
- Include these exact headings:
## highlights
## changes
- Do not wrap the output in code fences.
- Return the full markdown body and set it as output.
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
CURSOR_API_KEY: ${{ secrets.CURSOR_API_KEY }}
MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }}
GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}
DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }}
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
- name: create GitHub release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref_name }}
name: ${{ github.ref_name }}
body: ${{ steps.changelog.outputs.result }}