From 1469735244fb077f7dc7029d4bc4a5dd0d2eeb9e Mon Sep 17 00:00:00 2001 From: wenty22 Date: Thu, 24 Oct 2024 15:36:06 +0800 Subject: [PATCH 1/3] chore: Update cicd --- .github/CODEOWNERS | 2 +- .github/workflows/release.yaml | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index f95c3c63..32da475b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @aiden-cao @wenty22 @Halibao-Lala @doge95 \ No newline at end of file +* @aiden-cao @wenty22 @Halibao-Lala @doge95 @github-actions[bot] \ No newline at end of file diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e417aa2e..24e525f5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -27,12 +27,9 @@ 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: From 7c397bdfc6501f0b1fc2152d74f32ae325465cd7 Mon Sep 17 00:00:00 2001 From: wenty22 Date: Thu, 24 Oct 2024 15:46:01 +0800 Subject: [PATCH 2/3] chore: Add log --- .github/workflows/release.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 24e525f5..6a123734 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -27,6 +27,11 @@ jobs: with: path: .github/CODEOWNERS + - name: Print GitHub context + run: echo "$GITHUB_CONTEXT" + env: + GITHUB_CONTEXT: ${{ toJson(github.event.pull_request) }} + cicd: needs: [pre-check] if: contains(needs.pre-check.outputs.codeowners, github.event.pull_request.user.login) From a39b5aecf53c01174f0e823916a09b0ec6b53465 Mon Sep 17 00:00:00 2001 From: wenty22 Date: Thu, 24 Oct 2024 15:47:35 +0800 Subject: [PATCH 3/3] chore: Test cicd --- .release/.changeset/happy-ways-lie.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .release/.changeset/happy-ways-lie.md diff --git a/.release/.changeset/happy-ways-lie.md b/.release/.changeset/happy-ways-lie.md new file mode 100644 index 00000000..ecc234e6 --- /dev/null +++ b/.release/.changeset/happy-ways-lie.md @@ -0,0 +1,6 @@ +--- +"@bnb-chain/canonical-bridge-sdk": patch +"@bnb-chain/canonical-bridge-widget": patch +--- + +Test cicd