From 41a2d2166298eb0f0ee15e0cec4e83a6532b5046 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 30 Apr 2024 13:08:14 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=A4=96=20Pull=20Request=20form=20deve?= =?UTF-8?q?lop=20(#85)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 📰 Update CI - Added changeset for patch update - Updated workflow to trigger on pull requests - Renamed job from 'Release' to 'Publish' * feat(CI&CD): :sparkles: push new workflow * ci(CI&CD): :ferris_wheel: cI * 🚀 Update workflow for publishing - Updated trigger to 'push' on main - Simplified condition for repository owner - Removed unnecessary check for pull request status --------- Co-authored-by: guozichun --- .changeset/few-insects-buy.md | 5 +++++ .changeset/lovely-horses-design.md | 5 +++++ .changeset/perfect-emus-rule.md | 5 +++++ .github/workflows/Publish.yml | 7 ++----- 4 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 .changeset/few-insects-buy.md create mode 100644 .changeset/lovely-horses-design.md create mode 100644 .changeset/perfect-emus-rule.md diff --git a/.changeset/few-insects-buy.md b/.changeset/few-insects-buy.md new file mode 100644 index 0000000..1d297ae --- /dev/null +++ b/.changeset/few-insects-buy.md @@ -0,0 +1,5 @@ +--- +"@cardbrother/nestjs-tencent-cloud-sdk": patch +--- + +update workflow diff --git a/.changeset/lovely-horses-design.md b/.changeset/lovely-horses-design.md new file mode 100644 index 0000000..180f182 --- /dev/null +++ b/.changeset/lovely-horses-design.md @@ -0,0 +1,5 @@ +--- +"@cardbrother/nestjs-tencent-cloud-sdk": patch +--- + +update CI diff --git a/.changeset/perfect-emus-rule.md b/.changeset/perfect-emus-rule.md new file mode 100644 index 0000000..9f72abf --- /dev/null +++ b/.changeset/perfect-emus-rule.md @@ -0,0 +1,5 @@ +--- +"@cardbrother/nestjs-tencent-cloud-sdk": patch +--- + +update ci diff --git a/.github/workflows/Publish.yml b/.github/workflows/Publish.yml index 9e857cf..d3afe28 100644 --- a/.github/workflows/Publish.yml +++ b/.github/workflows/Publish.yml @@ -1,9 +1,7 @@ name: 📦 Publish on: - pull_request: - types: - - closed + push: branches: - main workflow_dispatch: @@ -17,7 +15,7 @@ env: jobs: Publish: name: 🚀 Publish - if: github.repository_owner == 'guotingchao' && github.event_name == 'pull_request' && github.event.pull_request.merged == true && github.head_ref == 'changeset-release/main' + if: github.repository_owner == 'guotingchao' && github.head_ref == 'changeset-release/main' runs-on: ubuntu-latest steps: - name: ⬇️ Checkout @@ -29,7 +27,6 @@ jobs: run: | echo ${{ github.repository_owner }} echo ${{ github.event_name }} - echo ${{ github.event.pull_request.merged }} echo ${{ github.head_ref }} echo ${{ github.ref }} echo ${{ github.ref_name }} From 78d97575a6f344455cb7d585076dd4740fb99e2e Mon Sep 17 00:00:00 2001 From: Guo ZiChun Date: Tue, 30 Apr 2024 13:09:21 +0800 Subject: [PATCH 2/2] =?UTF-8?q?chore(release):=20publish=20new=20version?= =?UTF-8?q?=20packages=20=F0=9F=A6=8B=20(#86)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit chore(release): publish new version packages 🦋 [skip ci] Co-authored-by: github-actions[bot] --- .changeset/few-insects-buy.md | 5 ----- .changeset/lovely-horses-design.md | 5 ----- .changeset/perfect-emus-rule.md | 5 ----- CHANGELOG.md | 10 ++++++++++ package.json | 2 +- 5 files changed, 11 insertions(+), 16 deletions(-) delete mode 100644 .changeset/few-insects-buy.md delete mode 100644 .changeset/lovely-horses-design.md delete mode 100644 .changeset/perfect-emus-rule.md diff --git a/.changeset/few-insects-buy.md b/.changeset/few-insects-buy.md deleted file mode 100644 index 1d297ae..0000000 --- a/.changeset/few-insects-buy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cardbrother/nestjs-tencent-cloud-sdk": patch ---- - -update workflow diff --git a/.changeset/lovely-horses-design.md b/.changeset/lovely-horses-design.md deleted file mode 100644 index 180f182..0000000 --- a/.changeset/lovely-horses-design.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cardbrother/nestjs-tencent-cloud-sdk": patch ---- - -update CI diff --git a/.changeset/perfect-emus-rule.md b/.changeset/perfect-emus-rule.md deleted file mode 100644 index 9f72abf..0000000 --- a/.changeset/perfect-emus-rule.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cardbrother/nestjs-tencent-cloud-sdk": patch ---- - -update ci diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a1e358..0749dca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ ## 1.0.16 +## 1.0.24 + +### Patch Changes + +- [#85](https://github.com/guotingchao/nest-tencent-cloud-sdk/pull/85) [`41a2d21`](https://github.com/guotingchao/nest-tencent-cloud-sdk/commit/41a2d2166298eb0f0ee15e0cec4e83a6532b5046) Thanks [@github-actions](https://github.com/apps/github-actions)! - update workflow + +- [#85](https://github.com/guotingchao/nest-tencent-cloud-sdk/pull/85) [`41a2d21`](https://github.com/guotingchao/nest-tencent-cloud-sdk/commit/41a2d2166298eb0f0ee15e0cec4e83a6532b5046) Thanks [@github-actions](https://github.com/apps/github-actions)! - update CI + +- [#85](https://github.com/guotingchao/nest-tencent-cloud-sdk/pull/85) [`41a2d21`](https://github.com/guotingchao/nest-tencent-cloud-sdk/commit/41a2d2166298eb0f0ee15e0cec4e83a6532b5046) Thanks [@github-actions](https://github.com/apps/github-actions)! - update ci + ## 1.0.23 ### Patch Changes diff --git a/package.json b/package.json index 5cf0811..8acb8c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cardbrother/nestjs-tencent-cloud-sdk", - "version": "1.0.23", + "version": "1.0.24", "main": "dist/index.js", "types": "dist/types/index.d.ts", "description": "nestjs tencent cloud sdk",