Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

experimental: enforce changelog #157

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Changelog
on: [pull_request]

jobs:
changes:
runs-on: ubuntu-latest
permissions:
pull-requests: read
outputs:
cdp-agentkit-core-python: ${{ steps.filter.outputs.cdp-agentkit-core-python }}
steps:
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
cdp-agentkit-core-python:
- 'cdp-agentkit-core/python/**'

cdp-agentkit-core-python:
needs: changes
if: ${{ needs.changes.outputs.cdp-agentkit-core-python == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: dangoslen/changelog-enforcer@v3
with:
changeLogPath: 'cdp-agentkit-core/python/CHANGELOG.md'
# skipLabels: 'Skip-Changelog'
1 change: 1 addition & 0 deletions cdp-agentkit-core/python/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- Add action `superfluid_create_flow` to create a flow using Superfluid
- Add action `superfluid_update_flow` to update a flow using Superfluid
- Add action `superfluid_delete_flow` to delete a flow using Superfluid
- Add github workflow to enforce changelogs

## [0.0.10] - 2025-01-22

Expand Down
2 changes: 2 additions & 0 deletions cdp-agentkit-core/python/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
changed

# Agentkit Core

Framework agnostic primitives that are meant to be composable and used via Agentkit framework extensions.
Expand Down
Loading