Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.
fix branch
thomashebrard522eebf23492
diff --git a/.github/workflows/changelog-check.yml b/.github/workflows/changelog-check.ymlindex c0a87c06e..a445d0cbf 100644--- a/.github/workflows/changelog-check.yml+++ b/.github/workflows/changelog-check.yml@@ -9,27 +9,30 @@ on:jobs:check-changelog:runs-on: ubuntu-latest+ if: startsWith(github.head_ref, 'release/v') # Only run on release branchessteps:- uses: actions/checkout@v4- name: Check Changelog Versionrun: |- # Get the current branch name+ # Get the current branch name and extract versionBRANCH_NAME=${GITHUB_HEAD_REF}- # Check if this is a release branchif [[ $BRANCH_NAME =~ ^release/v([0-9]+\.[0-9]+\.[0-9]+)$ ]]; thenVERSION="${BASH_REMATCH[1]}"- echo "Release branch detected for version v$VERSION"+ echo "Checking release branch v$VERSION against changelog..."# Look for the version in the changelogif ! grep -q "## \[v$VERSION\] -" CHANGELOG.md; then- echo "Error: No changelog entry found for version v$VERSION"- echo "Please add a changelog entry for v$VERSION before merging this release"+ echo "❌ Error: No changelog entry found for version v$VERSION"+ echo "The following versions are in the changelog:"+ grep -E "^## \[v[0-9]+\.[0-9]+\.[0-9]+\]" CHANGELOG.md+ echo "Please add a changelog entry for v$VERSION before merging this release to main"exit 1elseecho "✅ Changelog entry found for version v$VERSION"fielse- echo "Not a release branch, skipping changelog check"+ echo "❌ Error: Branch name $BRANCH_NAME does not match expected format 'release/vX.Y.Z'"+ exit 1fi\ No newline at end of file