From 08ac4fcc8969ce04e814555ec8f0fde4126e76c2 Mon Sep 17 00:00:00 2001 From: wenty22 Date: Thu, 24 Oct 2024 15:23:37 +0800 Subject: [PATCH] chore: Update cicd --- .github/workflows/release.yaml | 5 ++++- .../canonical-bridge-widget/src/CanonicalBridgeProvider.tsx | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 24e525f5..e417aa2e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -27,9 +27,12 @@ jobs: with: path: .github/CODEOWNERS + - name: Log + run: | + echo "${{github.event.pull_request.user.login}}" + cicd: needs: [pre-check] - if: contains(needs.pre-check.outputs.codeowners, github.event.pull_request.user.login) timeout-minutes: 10 runs-on: ubuntu-latest steps: diff --git a/packages/canonical-bridge-widget/src/CanonicalBridgeProvider.tsx b/packages/canonical-bridge-widget/src/CanonicalBridgeProvider.tsx index 24430133..42e5243d 100644 --- a/packages/canonical-bridge-widget/src/CanonicalBridgeProvider.tsx +++ b/packages/canonical-bridge-widget/src/CanonicalBridgeProvider.tsx @@ -15,7 +15,7 @@ export interface ICanonicalBridgeConfig { appName: string; assetPrefix?: string; - appearance?: { + appearance: { mode?: ColorMode; theme?: ThemeProviderProps['themeConfig']; locale?: string; @@ -88,9 +88,9 @@ export function CanonicalBridgeProvider(props: CanonicalBridgeProviderProvider) return ( - + - +