Skip to main content
Glama

mcp-google-sheets

reusable-generate-translations-shard.yml2.07 kB
name: Reusable - Generate Translations Shard on: workflow_call: inputs: shard_index: description: "Zero-based shard index" required: true type: number shard_total: description: "Total number of shards" required: true type: number branch_name: description: "Branch name to push changes to" required: true type: string jobs: run-shard: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: '18' cache: 'npm' - name: Install dependencies run: npm ci - name: Configure git run: | git config --local user.email "abdulyki+automatedcommits@activepieces.com" git config --local user.name "automated-commits-ap" - name: Prepare branch env: BRANCH_NAME: ${{ inputs.branch_name }} run: | git fetch origin if git rev-parse --verify origin/$BRANCH_NAME >/dev/null 2>&1; then git checkout -b $BRANCH_NAME origin/$BRANCH_NAME || git checkout $BRANCH_NAME else git checkout -b $BRANCH_NAME origin/main fi - name: Generate translation files for shard run: | npm run cli pieces generate-translation-file-for-all-pieces -- --shard-index ${{ inputs.shard_index }} --shard-total ${{ inputs.shard_total }} - name: Commit and push changes (if any) env: BRANCH_NAME: ${{ inputs.branch_name }} run: | if [ -n "$(git status --porcelain)" ]; then git add -A git commit -m "feat: generate translation files (shard ${{ inputs.shard_index }}/${{ inputs.shard_total }}) [skip-changelog]" git push origin $BRANCH_NAME else echo "No changes in shard ${{ inputs.shard_index }}/${{ inputs.shard_total }}" fi

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/activepieces/activepieces'

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