Skip to content

Commit

Permalink
feat: support 3rd auth
Browse files Browse the repository at this point in the history
  • Loading branch information
RaoHai committed Sep 6, 2024
1 parent 748fde8 commit 31fb46e
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/aws-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
--no-fail-on-empty-changeset \
--config-file .aws/petercat-preview.toml \
--parameter-overrides APIUrl="https://api-pre.petercat.ai" \
WebUrl="https://www.petercat.ai" \
WebUrl="https://petercat.ai" \
StaticUrl="https://static.petercat.ai" \
PetercatEnv="preview" \
AWSGithubSecretName=${{ secrets.AWS_GITHUB_SECRET_NAME }} \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/aws-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
--no-fail-on-empty-changeset \
--config-file .aws/petercat-prod.toml \
--parameter-overrides APIUrl="https://api.petercat.ai" \
WebUrl="https://www.petercat.ai" \
WebUrl="https://petercat.ai" \
StaticUrl="https://static.petercat.ai" \
PetercatEnv="production" \
AWSGithubSecretName=${{ secrets.AWS_GITHUB_SECRET_NAME }} \
Expand Down
2 changes: 1 addition & 1 deletion assistant/ README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![npm](https://img.shields.io/npm/dm/petercatai/chat-sdk.svg)](https://www.npmjs.com/package/petercatai/chat-sdk)
[![Version](https://img.shields.io/npm/v/petercatai/chat-sdk/latest.svg)](https://www.npmjs.com/package/petercatai/chat-sdk)

chat-app is a UI component library based on dumi, designed for building [Peter Cat](https://www.petercat.ai) conversation interfaces.
chat-app is a UI component library based on dumi, designed for building [Peter Cat](https://petercat.ai) conversation interfaces.


## Development
Expand Down
2 changes: 1 addition & 1 deletion assistant/src/icons/SignatureIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
const SignatureIcon = (props: any) => (
<a href="https://www.petercat.ai/" className={props.className}>
<a href="https://petercat.ai/" className={props.className}>
<svg xmlns="http://www.w3.org/2000/svg" width={99} height={11} fill="none">
<path
fill="#D1D5DB"
Expand Down
6 changes: 3 additions & 3 deletions server/tests/fixtures/github/events/pull_request/create.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
"ssh_url": "[email protected]:petercat-ai/petercat.git",
"clone_url": "https://github.com/petercat-ai/petercat.git",
"svn_url": "https://github.com/petercat-ai/petercat",
"homepage": "https://www.petercat.ai/",
"homepage": "https://petercat.ai/",
"size": 28857,
"stargazers_count": 3,
"watchers_count": 3,
Expand Down Expand Up @@ -292,7 +292,7 @@
"ssh_url": "[email protected]:petercat-ai/petercat.git",
"clone_url": "https://github.com/petercat-ai/petercat.git",
"svn_url": "https://github.com/petercat-ai/petercat",
"homepage": "https://www.petercat.ai/",
"homepage": "https://petercat.ai/",
"size": 28857,
"stargazers_count": 3,
"watchers_count": 3,
Expand Down Expand Up @@ -452,7 +452,7 @@
"ssh_url": "[email protected]:petercat-ai/petercat.git",
"clone_url": "https://github.com/petercat-ai/petercat.git",
"svn_url": "https://github.com/petercat-ai/petercat",
"homepage": "https://www.petercat.ai/",
"homepage": "https://petercat.ai/",
"size": 28857,
"stargazers_count": 3,
"watchers_count": 3,
Expand Down
2 changes: 1 addition & 1 deletion server/tests/fixtures/github/events/pull_request/edit.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
"ssh_url": "[email protected]:petercat-ai/petercat.git",
"clone_url": "https://github.com/petercat-ai/petercat.git",
"svn_url": "https://github.com/petercat-ai/petercat",
"homepage": "https://www.petercat.ai/",
"homepage": "https://petercat.ai/",
"size": 28857,
"stargazers_count": 3,
"watchers_count": 3,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
"ssh_url": "[email protected]:petercat-ai/petercat.git",
"clone_url": "https://github.com/petercat-ai/petercat.git",
"svn_url": "https://github.com/petercat-ai/petercat",
"homepage": "https://www.petercat.ai/",
"homepage": "https://petercat.ai/",
"size": 28864,
"stargazers_count": 3,
"watchers_count": 3,
Expand Down Expand Up @@ -367,7 +367,7 @@
"ssh_url": "[email protected]:petercat-ai/petercat.git",
"clone_url": "https://github.com/petercat-ai/petercat.git",
"svn_url": "https://github.com/petercat-ai/petercat",
"homepage": "https://www.petercat.ai/",
"homepage": "https://petercat.ai/",
"size": 28864,
"stargazers_count": 3,
"watchers_count": 3,
Expand Down Expand Up @@ -517,7 +517,7 @@
"ssh_url": "[email protected]:petercat-ai/petercat.git",
"clone_url": "https://github.com/petercat-ai/petercat.git",
"svn_url": "https://github.com/petercat-ai/petercat",
"homepage": "https://www.petercat.ai/",
"homepage": "https://petercat.ai/",
"size": 28864,
"stargazers_count": 3,
"watchers_count": 3,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
"ssh_url": "[email protected]:petercat-ai/petercat.git",
"clone_url": "https://github.com/petercat-ai/petercat.git",
"svn_url": "https://github.com/petercat-ai/petercat",
"homepage": "https://www.petercat.ai/",
"homepage": "https://petercat.ai/",
"size": 28857,
"stargazers_count": 3,
"watchers_count": 3,
Expand Down Expand Up @@ -360,7 +360,7 @@
"ssh_url": "[email protected]:petercat-ai/petercat.git",
"clone_url": "https://github.com/petercat-ai/petercat.git",
"svn_url": "https://github.com/petercat-ai/petercat",
"homepage": "https://www.petercat.ai/",
"homepage": "https://petercat.ai/",
"size": 28857,
"stargazers_count": 3,
"watchers_count": 3,
Expand Down Expand Up @@ -508,7 +508,7 @@
"ssh_url": "[email protected]:petercat-ai/petercat.git",
"clone_url": "https://github.com/petercat-ai/petercat.git",
"svn_url": "https://github.com/petercat-ai/petercat",
"homepage": "https://www.petercat.ai/",
"homepage": "https://petercat.ai/",
"size": 28857,
"stargazers_count": 3,
"watchers_count": 3,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
"ssh_url": "[email protected]:petercat-ai/petercat.git",
"clone_url": "https://github.com/petercat-ai/petercat.git",
"svn_url": "https://github.com/petercat-ai/petercat",
"homepage": "https://www.petercat.ai/",
"homepage": "https://petercat.ai/",
"size": 28857,
"stargazers_count": 3,
"watchers_count": 3,
Expand Down Expand Up @@ -330,7 +330,7 @@
"ssh_url": "[email protected]:petercat-ai/petercat.git",
"clone_url": "https://github.com/petercat-ai/petercat.git",
"svn_url": "https://github.com/petercat-ai/petercat",
"homepage": "https://www.petercat.ai/",
"homepage": "https://petercat.ai/",
"size": 28857,
"stargazers_count": 3,
"watchers_count": 3,
Expand Down Expand Up @@ -479,7 +479,7 @@
"ssh_url": "[email protected]:petercat-ai/petercat.git",
"clone_url": "https://github.com/petercat-ai/petercat.git",
"svn_url": "https://github.com/petercat-ai/petercat",
"homepage": "https://www.petercat.ai/",
"homepage": "https://petercat.ai/",
"size": 28857,
"stargazers_count": 3,
"watchers_count": 3,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
"ssh_url": "[email protected]:petercat-ai/petercat.git",
"clone_url": "https://github.com/petercat-ai/petercat.git",
"svn_url": "https://github.com/petercat-ai/petercat",
"homepage": "https://www.petercat.ai/",
"homepage": "https://petercat.ai/",
"size": 28857,
"stargazers_count": 3,
"watchers_count": 3,
Expand Down Expand Up @@ -330,7 +330,7 @@
"ssh_url": "[email protected]:petercat-ai/petercat.git",
"clone_url": "https://github.com/petercat-ai/petercat.git",
"svn_url": "https://github.com/petercat-ai/petercat",
"homepage": "https://www.petercat.ai/",
"homepage": "https://petercat.ai/",
"size": 28857,
"stargazers_count": 3,
"watchers_count": 3,
Expand Down Expand Up @@ -478,7 +478,7 @@
"ssh_url": "[email protected]:petercat-ai/petercat.git",
"clone_url": "https://github.com/petercat-ai/petercat.git",
"svn_url": "https://github.com/petercat-ai/petercat",
"homepage": "https://www.petercat.ai/",
"homepage": "https://petercat.ai/",
"size": 28857,
"stargazers_count": 3,
"watchers_count": 3,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
"ssh_url": "[email protected]:petercat-ai/petercat.git",
"clone_url": "https://github.com/petercat-ai/petercat.git",
"svn_url": "https://github.com/petercat-ai/petercat",
"homepage": "https://www.petercat.ai/",
"homepage": "https://petercat.ai/",
"size": 28857,
"stargazers_count": 3,
"watchers_count": 3,
Expand Down Expand Up @@ -280,7 +280,7 @@
"ssh_url": "[email protected]:petercat-ai/petercat.git",
"clone_url": "https://github.com/petercat-ai/petercat.git",
"svn_url": "https://github.com/petercat-ai/petercat",
"homepage": "https://www.petercat.ai/",
"homepage": "https://petercat.ai/",
"size": 28857,
"stargazers_count": 3,
"watchers_count": 3,
Expand Down Expand Up @@ -559,7 +559,7 @@
"ssh_url": "[email protected]:petercat-ai/petercat.git",
"clone_url": "https://github.com/petercat-ai/petercat.git",
"svn_url": "https://github.com/petercat-ai/petercat",
"homepage": "https://www.petercat.ai/",
"homepage": "https://petercat.ai/",
"size": 28857,
"stargazers_count": 3,
"watchers_count": 3,
Expand Down

0 comments on commit 31fb46e

Please sign in to comment.