Files
copilotkit__copilotkit/.github/workflows/showcase_qa-sync.yml
dependabot[bot] 2a6c966ab9 chore(ci)(deps): bump pnpm/action-setup from 4.3.0 to 6.0.8
Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 4.3.0 to 6.0.8.
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](https://github.com/pnpm/action-setup/compare/v4.3.0...0e279bb959325dab635dd2c09392533439d90093)

---
updated-dependencies:
- dependency-name: pnpm/action-setup
  dependency-version: 6.0.8
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-15 18:35:56 +00:00

65 lines
1.8 KiB
YAML

name: "Showcase: Sync QA to Notion"
on:
push:
branches: [main]
paths:
- "showcase/integrations/*/qa/**"
- "showcase/integrations/*/manifest.yaml"
- "showcase/scripts/sync-qa-to-notion.ts"
workflow_dispatch:
concurrency:
group: showcase-qa-sync
cancel-in-progress: true
permissions:
contents: read
jobs:
sync-qa:
name: Sync QA Instructions
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_OSS_ALERTS }}
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 20
- name: Setup pnpm
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- name: Install dependencies
working-directory: showcase/scripts
run: pnpm install --frozen-lockfile || pnpm install
- name: Validate manifests
working-directory: showcase/scripts
run: npx tsx generate-registry.ts
- name: Sync QA to Notion
working-directory: showcase/scripts
env:
NOTION_API_KEY: ${{ secrets.SHOWCASE_NOTION_API_KEY }}
run: npx tsx sync-qa-to-notion.ts
- name: Notify Slack (failure)
if: failure() && env.SLACK_WEBHOOK != ''
uses: slackapi/slack-github-action@b0fa283ad8fea605de13dc3f449259339835fc52 # v2.1.0
with:
webhook: ${{ secrets.SLACK_WEBHOOK_OSS_ALERTS }}
webhook-type: incoming-webhook
payload: |
{ "text": ":x: *QA sync to Notion*: failed | <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|View run>" }