From 9402643f00f886fcdf6a52e4dd0f1910178030c4 Mon Sep 17 00:00:00 2001 From: Christine Wang Date: Mon, 10 Feb 2025 08:12:41 -0800 Subject: [PATCH 1/9] test auto releae --- .github/workflows/auto-release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 9053614e7..2ca90ef89 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -3,6 +3,9 @@ on: push: branches: - develop + pull_request: + branches: + - develop workflow_dispatch: permissions: @@ -21,9 +24,10 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - lfs: true - uses: codfish/semantic-release-action@v3 id: semantic + with: + dry-run: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From ab64e4dea5a09349faa3590b4ab2ea40e867f4a4 Mon Sep 17 00:00:00 2001 From: Christine Wang Date: Mon, 10 Feb 2025 08:27:31 -0800 Subject: [PATCH 2/9] test on branch --- .github/workflows/auto-release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 2ca90ef89..8602fc301 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -3,9 +3,7 @@ on: push: branches: - develop - pull_request: - branches: - - develop + - fix-auto-reease-flow workflow_dispatch: permissions: From 69a491287557acaa4fd4b8a243046d049b94b14f Mon Sep 17 00:00:00 2001 From: Christine Wang Date: Mon, 10 Feb 2025 08:31:44 -0800 Subject: [PATCH 3/9] add a branch --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index df1ef1206..7af9ada26 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "release": { - "branches": ["develop"], + "branches": ["develop", "fix-auto-reease-flow"], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", From 7662a0324253b649435d4bcc34c0b1d0940ce048 Mon Sep 17 00:00:00 2001 From: Christine Wang Date: Mon, 10 Feb 2025 09:43:41 -0800 Subject: [PATCH 4/9] remove dry run --- .github/workflows/auto-release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 8602fc301..be4dfde1f 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -3,7 +3,6 @@ on: push: branches: - develop - - fix-auto-reease-flow workflow_dispatch: permissions: @@ -26,6 +25,6 @@ jobs: - uses: codfish/semantic-release-action@v3 id: semantic with: - dry-run: true + dry-run: false env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 7bfeaf527d23eeaed0b3d0214a5d2576596bdba6 Mon Sep 17 00:00:00 2001 From: Christine Wang Date: Mon, 10 Feb 2025 09:45:32 -0800 Subject: [PATCH 5/9] update branch list --- .github/workflows/auto-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index be4dfde1f..1e46d8aa8 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -3,6 +3,7 @@ on: push: branches: - develop + - fix-auto-reease-flow workflow_dispatch: permissions: From 2048c34703be1d454f2b58c6963a0dc2d7e0af3c Mon Sep 17 00:00:00 2001 From: Christine Wang Date: Mon, 10 Feb 2025 10:04:30 -0800 Subject: [PATCH 6/9] remove pre-push hook --- .github/workflows/auto-release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 1e46d8aa8..be1d111ba 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -23,6 +23,9 @@ jobs: with: fetch-depth: 0 + - name: Remove pre-push hook + run: rm -f .git/hooks/pre-push + - uses: codfish/semantic-release-action@v3 id: semantic with: From e924f3dc6145e25a0b8ec78cc896ab00509029c5 Mon Sep 17 00:00:00 2001 From: Christine Wang Date: Mon, 10 Feb 2025 10:09:17 -0800 Subject: [PATCH 7/9] remove test branch --- .github/workflows/auto-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index be1d111ba..f0e573228 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -3,7 +3,6 @@ on: push: branches: - develop - - fix-auto-reease-flow workflow_dispatch: permissions: @@ -23,6 +22,7 @@ jobs: with: fetch-depth: 0 + # TODO: clean-up once we remove LFS - name: Remove pre-push hook run: rm -f .git/hooks/pre-push From 8b0860d411b424d74f56375fd2faa3e2cea95c9b Mon Sep 17 00:00:00 2001 From: Christine Wang Date: Mon, 10 Feb 2025 10:09:37 -0800 Subject: [PATCH 8/9] Discard changes to package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7af9ada26..df1ef1206 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "release": { - "branches": ["develop", "fix-auto-reease-flow"], + "branches": ["develop"], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", From ff8e10f4db025ccf34476fac958486b9ebb3a32e Mon Sep 17 00:00:00 2001 From: Christine Wang Date: Mon, 10 Feb 2025 10:11:02 -0800 Subject: [PATCH 9/9] remove with dyrn run --- .github/workflows/auto-release.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index f0e573228..49c83c4bf 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -28,7 +28,5 @@ jobs: - uses: codfish/semantic-release-action@v3 id: semantic - with: - dry-run: false env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}