Skip to content

Commit 8655d26

Browse files
committed
update
1 parent 6a2af13 commit 8655d26

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/aggregate-mcp-data.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ jobs:
5656
env:
5757
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
5858

59+
- name: Trigger leaderboard revalidation
60+
if: steps.check-changes.outputs.changes == 'true' && github.ref == 'refs/heads/main'
61+
run: |
62+
curl -X POST "https://mcpmark.ai/api/revalidate/mcp-leaderboard" \
63+
-H "Authorization: Bearer ${{ secrets.LEADERBOARD_TOKEN }}" \
64+
-H "Content-Type: application/json"
65+
echo "✅ Triggered leaderboard revalidation"
66+
5967
- name: Create PR comment (for PRs)
6068
if: github.event_name == 'pull_request' && steps.check-changes.outputs.changes == 'true'
6169
uses: actions/github-script@v7

0 commit comments

Comments
 (0)