Skip to content

🔄 synced file(s) with OrrisTech/.github#4

Merged
iamzifei merged 1 commit intomainfrom
repo-sync/github/default
Feb 20, 2026
Merged

🔄 synced file(s) with OrrisTech/.github#4
iamzifei merged 1 commit intomainfrom
repo-sync/github/default

Conversation

@iamzifei
Copy link
Contributor

@iamzifei iamzifei commented Feb 20, 2026

synced local file(s) with OrrisTech/.github.

This PR was automatically created by the org file sync workflow. It syncs the latest org standard files from the .github repo. Review the changes and merge when ready.

Changed files
  • synced local .github/workflows/ci.yml with remote sync/.github/workflows/ci.yml

This PR was created automatically by the repo-file-sync-action workflow run #22212195514

Copilot AI review requested due to automatic review settings February 20, 2026 05:10
@vercel
Copy link

vercel bot commented Feb 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agent-otp-website Error Error Feb 20, 2026 5:10am

Request Review

@github-actions
Copy link

React Doctor Report

Click to expand results
npm warn exec The following package was not found and will be installed: react-doctor@0.0.28
react-doctor v0.0.28

�[32m✔�[39m Select projects to scan �[2m›�[22m @orrisai/agent-otp-mobile, @orrisai/agent-otp-website
�[2mScanning /home/runner/work/agent-otp/agent-otp/apps/mobile...�[22m

- Detecting framework. Found �[36mNext.js�[39m.
�[32m✔�[39m Detecting framework. Found �[36mNext.js�[39m.
- Detecting React version. Found �[36mReact 18.3.1�[39m.
�[32m✔�[39m Detecting React version. Found �[36mReact 18.3.1�[39m.
- Detecting language. Found �[36mTypeScript�[39m.
�[32m✔�[39m Detecting language. Found �[36mTypeScript�[39m.
- Detecting React Compiler. Not found.
�[32m✔�[39m Detecting React Compiler. Not found.
- Found �[36m21�[39m source files.
�[32m✔�[39m Found �[36m21�[39m source files.

- Running lint checks...
- Running lint checks.
�[32m✔�[39m Running lint checks.
- Detecting dead code...
�[32m✔�[39m Detecting dead code.
  �[33m⚠�[39m 3 setState calls in a single useEffect — consider using useReducer or deriving state
�[2m    Combine into useReducer: `const [state, dispatch] = useReducer(reducer, initialState)`�[22m
�[2m    src/app/_layout.tsx: 21�[22m

  �[33m⚠�[39m Unused file�[33m (5)�[39m
�[2m    This file is not imported by any other file in the project.�[22m
�[2m    metro.config.js�[22m
�[2m    src/components/index.ts�[22m
�[2m    src/hooks/index.ts�[22m
�[2m    src/services/encryption.ts�[22m
�[2m    src/services/index.ts�[22m

  �[33m⚠�[39m Unused export: useRecentSMS�[33m (7)�[39m
�[2m    src/hooks/useStore.ts�[22m
�[2m    src/services/storage.ts�[22m
�[2m    src/services/api.ts�[22m

  �[33m⚠�[39m Unused type: SMSCallback�[33m (2)�[39m
�[2m    src/services/sms.ts�[22m

  �[2m┌────────────────────────────────────────────────────┐�[22m
  �[2m│�[22m �[32m┌─────┐�[39m                                            �[2m│�[22m
  �[2m│�[22m �[32m│ ◠ ◠ │�[39m                                            �[2m│�[22m
  �[2m│�[22m �[32m│  ▽  │�[39m                                            �[2m│�[22m
  �[2m│�[22m �[32m└─────┘�[39m                                            �[2m│�[22m
  �[2m│�[22m React Doctor �[2m(www.react.doctor)�[22m                    �[2m│�[22m
  �[2m│�[22m                                                    �[2m│�[22m
  �[2m│�[22m �[32m97�[39m / 100  �[32mGreat�[39m                                    �[2m│�[22m
  �[2m│�[22m                                                    �[2m│�[22m
  �[2m│�[22m �[32m█████████████████████████████████████████████████�[39m�[2m░�[22m �[2m│�[22m
  �[2m│�[22m                                                    �[2m│�[22m
  �[2m│�[22m �[33m⚠ 15 warnings�[39m  �[2macross 10/21 files�[22m  �[2min 495ms�[22m        �[2m│�[22m
  �[2m└────────────────────────────────────────────────────┘�[22m

�[2m  Full diagnostics written to /tmp/react-doctor-81aa987a-60d6-4ae6-8fd5-af28214eafb1�[22m

�[2m  Share your results: �[36mhttps://www.react.doctor/share?p=%40orrisai%2Fagent-otp-mobile&s=97&w=15&f=10�[39m�[22m

�[2mScanning /home/runner/work/agent-otp/agent-otp/apps/website...�[22m

- Detecting framework. Found �[36mNext.js�[39m.
�[32m✔�[39m Detecting framework. Found �[36mNext.js�[39m.
- Detecting React version. Found �[36mReact 19.2.4�[39m.
�[32m✔�[39m Detecting React version. Found �[36mReact 19.2.4�[39m.
- Detecting language. Found �[36mTypeScript�[39m.
�[32m✔�[39m Detecting language. Found �[36mTypeScript�[39m.
- Detecting React Compiler. Not found.
�[32m✔�[39m Detecting React Compiler. Not found.
- Found �[36m50�[39m source files.
�[32m✔�[39m Found �[36m50�[39m source files.

- Running lint checks...
- Running lint checks.
�[32m✔�[39m Running lint checks.
- Detecting dead code...
�[32m✔�[39m Detecting dead code.
  �[33m⚠�[39m Component "OTPAPIPage" is 378 lines — consider breaking it into smaller focused components�[33m (16)�[39m
�[2m    Extract logical sections into focused components: `<UserHeader />`, `<UserActions />`, etc.�[22m
�[2m    src/app/docs/api/permissions/page.tsx: 9�[22m
�[2m    src/app/contact/page.tsx: 11�[22m
�[2m    src/app/docs/api/agents/page.tsx: 9�[22m
�[2m    src/app/docs/api/audit/page.tsx: 9�[22m
�[2m    src/app/docs/api/policies/page.tsx: 9�[22m
�[2m    src/app/docs/sdk/errors/page.tsx: 9�[22m
�[2m    src/app/docs/sdk/typescript/page.tsx: 9�[22m
�[2m    src/app/docs/guides/telegram/page.tsx: 9�[22m
�[2m    src/app/docs/sdk/python/page.tsx: 9�[22m
�[2m    src/app/docs/guides/security/page.tsx: 9�[22m
�[2m    src/app/docs/guides/self-hosting/page.tsx: 9�[22m
�[2m    src/app/docs/integrations/crewai/page.tsx: 9�[22m
�[2m    src/app/docs/guides/policies/page.tsx: 9�[22m
�[2m    src/app/docs/integrations/langchain/page.tsx: 9�[22m
�[2m    src/app/docs/integrations/custom/page.tsx: 9�[22m
�[2m    src/app/docs/integrations/autogen/page.tsx: 9�[22m

  �[33m⚠�[39m Page without metadata or generateMetadata export — hurts SEO�[33m (2)�[39m
�[2m    Add `export const metadata = { title: '...', description: '...' }` or `export async function generateMetadata()`�[22m
�[2m    src/app/contact/page.tsx: 1�[22m
�[2m    src/app/page.tsx: 1�[22m

  �[33m⚠�[39m Headings must have content and the content must be accessible by a screen reader.
�[2m    Provide screen reader accessible content when using heading elements.�[22m
�[2m    src/components/ui/card.tsx: 35�[22m

  �[33m⚠�[39m Unused file�[33m (2)�[39m
�[2m    This file is not imported by any other file in the project.�[22m
�[2m    src/components/layout/index.ts�[22m
�[2m    src/components/ui/card.tsx�[22m

  �[33m⚠�[39m Unused export: buttonVariants�[33m (3)�[39m
�[2m    src/components/ui/button.tsx�[22m
�[2m    src/lib/utils.ts�[22m

  �[33m⚠�[39m Unused type: ButtonProps
�[2m    src/components/ui/button.tsx�[22m

  �[2m┌────────────────────────────────────────────────────┐�[22m
  �[2m│�[22m �[32m┌─────┐�[39m                                            �[2m│�[22m
  �[2m│�[22m �[32m│ ◠ ◠ │�[39m                                            �[2m│�[22m
  �[2m│�[22m �[32m│  ▽  │�[39m                                            �[2m│�[22m
  �[2m│�[22m �[32m└─────┘�[39m                                            �[2m│�[22m
  �[2m│�[22m React Doctor �[2m(www.react.doctor)�[22m                    �[2m│�[22m
  �[2m│�[22m                                                    �[2m│�[22m
  �[2m│�[22m �[32m96�[39m / 100  �[32mGreat�[39m                                    �[2m│�[22m
  �[2m│�[22m                                                    �[2m│�[22m
  �[2m│�[22m �[32m████████████████████████████████████████████████�[39m�[2m░░�[22m �[2m│�[22m
  �[2m│�[22m                                                    �[2m│�[22m
  �[2m│�[22m �[33m⚠ 25 warnings�[39m  �[2macross 21/50 files�[22m  �[2min 875ms�[22m        �[2m│�[22m
  �[2m└────────────────────────────────────────────────────┘�[22m

�[2m  Full diagnostics written to /tmp/react-doctor-c4b5795f-952b-48f7-a5d6-cb15946d1588�[22m

�[2m  Share your results: �[36mhttps://www.react.doctor/share?p=%40orrisai%2Fagent-otp-website&s=96&w=25&f=21�[39m�[22m

Powered by react-doctor

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR syncs the repository’s thin CI caller workflow with the org-standard workflow definitions from OrrisTech/.github, updating how certain CI jobs are treated when they fail.

Changes:

  • Removed continue-on-error: true from the lint-typecheck job.
  • Removed continue-on-error: true from the security job.
  • Updated inline comments describing the intended impact of failures for those jobs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 26 to 28
# Advisory only — does not block build or other jobs.
# Remove continue-on-error once repo lint errors are resolved.
continue-on-error: true
# No "needs:" from other jobs, so failures here won't block CI.
uses: OrrisTech/.github/.github/workflows/ci-lint-typecheck.yml@main
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These comments are misleading now that continue-on-error: true was removed. Even without needs:, a failing job will still make the overall workflow conclude as failed (and can block PR merge via required status checks). Either re-add continue-on-error: true to keep this advisory, or update/remove the “Advisory only” / “won't block CI” wording to reflect the new enforced behavior.

Copilot uses AI. Check for mistakes.
Comment on lines 43 to 45
# Advisory only — does not block other jobs.
continue-on-error: true
# No "needs:" from other jobs, so failures here won't block CI.
uses: OrrisTech/.github/.github/workflows/ci-security.yml@main
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same issue here: with continue-on-error removed, failures in this job will still fail the workflow even if other jobs don't need it. Please either restore continue-on-error: true to keep the “Advisory only” intent, or update the comments to reflect that this audit is now a required CI gate.

Copilot uses AI. Check for mistakes.
@iamzifei iamzifei merged commit f96ea11 into main Feb 20, 2026
4 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments