Repository navigation
Tagged release support
The action now works on releases. Run it on release: published and it compares the release tag with the previous tag, then sends the release title and notes, the commits in between (latest 200), and the diff. Lock files and generated files are still dropped, and large diffs are still summarized.
on:
release:
types: [published]
jobs:
suggest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # needed so tags are available
- uses: brainfish-ai/knowledge-suggestions@v1
with:
api_key: ${{ secrets.BRAINFISH_API_KEY }}What's new
- New
release_taginput to run for any tag from any event, such asworkflow_dispatch. basecan override the previous tag as the starting point.- The first release compares against an empty tree.
- Tag names are resolved as tags only, so they can't be mistaken for git flags.
Existing PR, push and pr_number workflows are unchanged. Upgrading from v1.0.0 needs no changes.
Full details: README