From eb3a421b1ec7f255f0bc7702f67faeecf5d83bf5 Mon Sep 17 00:00:00 2001 From: wenty22 Date: Tue, 29 Oct 2024 14:35:04 +0800 Subject: [PATCH 1/2] chore: Test release --- apps/canonical-bridge-ui/.env.example | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/canonical-bridge-ui/.env.example b/apps/canonical-bridge-ui/.env.example index 42f1bfa1..04091d82 100644 --- a/apps/canonical-bridge-ui/.env.example +++ b/apps/canonical-bridge-ui/.env.example @@ -1,5 +1,5 @@ NEXT_PUBLIC_APP_NAME=canonical-bridge-ui NEXT_PUBLIC_BASE_PATH= NEXT_PUBLIC_ASSET_PREFIX= -NEXT_PUBLIC_SERVER_ENDPOINT=http://localhost:3000 -NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID= \ No newline at end of file +NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID= +NEXT_PUBLIC_SERVER_ENDPOINT=http://localhost:3000 \ No newline at end of file From a27ffc46aa4bac822ccee5d7c15742dcfbee365d Mon Sep 17 00:00:00 2001 From: wenty22 Date: Tue, 29 Oct 2024 14:54:34 +0800 Subject: [PATCH 2/2] chore: Update cicd --- .github/workflows/example.yaml | 4 ++++ .github/workflows/release.yaml | 6 ++++++ .github/workflows/server.yaml | 4 ++++ apps/canonical-bridge-ui/.env.example | 4 ++-- 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/example.yaml b/.github/workflows/example.yaml index 6a1acbe1..965e300a 100644 --- a/.github/workflows/example.yaml +++ b/.github/workflows/example.yaml @@ -10,8 +10,12 @@ on: - packages/canonical-bridge-sdk/** - packages/canonical-bridge-widget/** +permissions: + contents: read + jobs: cicd: + if: github.repository == 'bnb-chain/canonical-bridge' timeout-minutes: 30 runs-on: ubuntu-latest steps: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4731142b..9362de78 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,8 +10,14 @@ on: - packages/canonical-bridge-sdk/** - packages/canonical-bridge-widget/** +permissions: + contents: write + issues: write + pull-requests: write + jobs: cicd: + if: github.repository == 'bnb-chain/canonical-bridge' timeout-minutes: 30 runs-on: ubuntu-latest steps: diff --git a/.github/workflows/server.yaml b/.github/workflows/server.yaml index 253f924a..87c4f075 100644 --- a/.github/workflows/server.yaml +++ b/.github/workflows/server.yaml @@ -8,8 +8,12 @@ on: paths: - apps/canonical-bridge-server/** +permissions: + contents: read + jobs: cicd: + if: github.repository == 'bnb-chain/canonical-bridge' timeout-minutes: 30 runs-on: ubuntu-latest diff --git a/apps/canonical-bridge-ui/.env.example b/apps/canonical-bridge-ui/.env.example index 04091d82..42f1bfa1 100644 --- a/apps/canonical-bridge-ui/.env.example +++ b/apps/canonical-bridge-ui/.env.example @@ -1,5 +1,5 @@ NEXT_PUBLIC_APP_NAME=canonical-bridge-ui NEXT_PUBLIC_BASE_PATH= NEXT_PUBLIC_ASSET_PREFIX= -NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID= -NEXT_PUBLIC_SERVER_ENDPOINT=http://localhost:3000 \ No newline at end of file +NEXT_PUBLIC_SERVER_ENDPOINT=http://localhost:3000 +NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID= \ No newline at end of file