Skip to content

fix: switch docs-check from reusable workflow to API dispatch#299

Open
sd-katherinekim wants to merge 1 commit intomainfrom
fix/docs-check-api-dispatch
Open

fix: switch docs-check from reusable workflow to API dispatch#299
sd-katherinekim wants to merge 1 commit intomainfrom
fix/docs-check-api-dispatch

Conversation

@sd-katherinekim
Copy link
Copy Markdown
Contributor

Summary

  • Public repo에서 internal repo(client-workflows)의 reusable workflow를 호출하면 GitHub 제약으로 jobs가 0개 생성되며 실패하는 문제 해결
  • uses: sendbird/client-workflows/...@main + secrets: inheritactions/github-scriptworkflow_dispatch API 호출 방식으로 전환
  • docs-check, docs-check-on-comment 두 job 모두 동일 패턴으로 변경

Test plan

  • workflow_dispatch로 수동 트리거하여 client-workflows에서 workflow run이 생성되는지 확인
  • PR comment에서 /docs-validation 트리거 정상 동작 확인

🤖 Generated with Claude Code

Public repos cannot reference reusable workflows from internal repos
(GitHub limitation — jobs silently fail with 0 jobs). Switch to
workflow_dispatch API call via actions/github-script to trigger
client-workflows/claude-docs-validation.yml.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 10.84%. Comparing base (03f53ed) to head (6bef004).

Additional details and impacted files
@@           Coverage Diff            @@
##             main     #299    +/-   ##
========================================
  Coverage   10.84%   10.84%            
========================================
  Files         360      360            
  Lines        9083     9083            
  Branches     2577     2441   -136     
========================================
  Hits          985      985            
- Misses       8022     8097    +75     
+ Partials       76        1    -75     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants