Skip to main content
Glama
approval-comment.yaml1.15 kB
name: ApprovalComment on: pull_request_review: types: [submitted] jobs: approval-comment: if: startsWith(github.event.review.body, '/karpenter snapshot') || startsWith(github.event.review.body, '/karpenter scale') || startsWith(github.event.review.body, '/karpenter versionCompatibility') runs-on: ubuntu-latest steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 with: fetch-depth: 0 - name: Save info about the review comment as an artifact for other workflows that run on workflow_run to download them env: REVIEW_BODY: ${{ github.event.review.body }} PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }} COMMIT_ID: ${{ github.event.review.commit_id }} run: | mkdir -p /tmp/artifacts { echo "$REVIEW_BODY"; echo "$PULL_REQUEST_NUMBER"; echo "$COMMIT_ID"; } >> /tmp/artifacts/metadata.txt cat /tmp/artifacts/metadata.txt - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: artifacts path: /tmp/artifacts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mengfwan/test-mcp-glama'

If you have feedback or need assistance with the MCP directory API, please join our Discord server