From ab274ead07327efc39091c481adb84ada88d3644 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 13 Oct 2023 15:16:03 +0000 Subject: [PATCH 1/4] Version Packages --- .changeset/angry-beans-laugh.md | 2 -- .changeset/calm-carrots-talk.md | 5 ----- .changeset/forty-houses-own.md | 5 ----- .changeset/late-peas-attend.md | 2 -- .changeset/little-brooms-argue.md | 2 -- .changeset/seven-garlics-act.md | 2 -- .changeset/slow-hats-drive.md | 2 -- .changeset/unlucky-scissors-wave.md | 2 -- packages/phone-number-privacy/combiner/CHANGELOG.md | 11 +++++++++++ packages/phone-number-privacy/combiner/package.json | 4 ++-- 10 files changed, 13 insertions(+), 24 deletions(-) delete mode 100644 .changeset/angry-beans-laugh.md delete mode 100644 .changeset/calm-carrots-talk.md delete mode 100644 .changeset/forty-houses-own.md delete mode 100644 .changeset/late-peas-attend.md delete mode 100644 .changeset/little-brooms-argue.md delete mode 100644 .changeset/seven-garlics-act.md delete mode 100644 .changeset/slow-hats-drive.md delete mode 100644 .changeset/unlucky-scissors-wave.md create mode 100644 packages/phone-number-privacy/combiner/CHANGELOG.md diff --git a/.changeset/angry-beans-laugh.md b/.changeset/angry-beans-laugh.md deleted file mode 100644 index a845151cc..000000000 --- a/.changeset/angry-beans-laugh.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/calm-carrots-talk.md b/.changeset/calm-carrots-talk.md deleted file mode 100644 index 5912a5069..000000000 --- a/.changeset/calm-carrots-talk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@celo/phone-number-privacy-combiner': minor ---- - -Added a proxy functionality to the gen1 combiner, allowing it to forward any requests received to the gen2 combiner diff --git a/.changeset/forty-houses-own.md b/.changeset/forty-houses-own.md deleted file mode 100644 index cfbd95064..000000000 --- a/.changeset/forty-houses-own.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@celo/phone-number-privacy-combiner': patch ---- - -Removed performance observer metric for combiner endpoint latency. diff --git a/.changeset/late-peas-attend.md b/.changeset/late-peas-attend.md deleted file mode 100644 index a845151cc..000000000 --- a/.changeset/late-peas-attend.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/little-brooms-argue.md b/.changeset/little-brooms-argue.md deleted file mode 100644 index a845151cc..000000000 --- a/.changeset/little-brooms-argue.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/seven-garlics-act.md b/.changeset/seven-garlics-act.md deleted file mode 100644 index a845151cc..000000000 --- a/.changeset/seven-garlics-act.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/slow-hats-drive.md b/.changeset/slow-hats-drive.md deleted file mode 100644 index a845151cc..000000000 --- a/.changeset/slow-hats-drive.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/unlucky-scissors-wave.md b/.changeset/unlucky-scissors-wave.md deleted file mode 100644 index a845151cc..000000000 --- a/.changeset/unlucky-scissors-wave.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/packages/phone-number-privacy/combiner/CHANGELOG.md b/packages/phone-number-privacy/combiner/CHANGELOG.md new file mode 100644 index 000000000..e5fd9b50e --- /dev/null +++ b/packages/phone-number-privacy/combiner/CHANGELOG.md @@ -0,0 +1,11 @@ +# @celo/phone-number-privacy-combiner + +## 3.1.0 + +### Minor Changes + +- 27b3ee6: Added a proxy functionality to the gen1 combiner, allowing it to forward any requests received to the gen2 combiner + +### Patch Changes + +- baee530: Removed performance observer metric for combiner endpoint latency. diff --git a/packages/phone-number-privacy/combiner/package.json b/packages/phone-number-privacy/combiner/package.json index cc5fb5bf6..f641970c3 100644 --- a/packages/phone-number-privacy/combiner/package.json +++ b/packages/phone-number-privacy/combiner/package.json @@ -1,6 +1,6 @@ { "name": "@celo/phone-number-privacy-combiner", - "version": "3.0.1", + "version": "3.1.0", "private": true, "description": "Orchestrates and combines threshold signatures for use in ODIS", "author": "Celo", @@ -67,7 +67,7 @@ "@celo/utils": "^5.0.4", "@celo/phone-utils": "^5.0.4", "@types/express": "^4.17.6", - "@types/http-proxy":"^1.17.11", + "@types/http-proxy": "^1.17.11", "@types/stream-array": "1.1.1", "@types/supertest": "^2.0.12", "@types/uuid": "^7.0.3", From d10bd83e987a571bc1fa42d1db3b71835ae189f1 Mon Sep 17 00:00:00 2001 From: Javier Cortejoso Date: Fri, 13 Oct 2023 17:31:32 +0200 Subject: [PATCH 2/4] Fix comment. Debug --- .github/workflows/social-connect.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/social-connect.yml b/.github/workflows/social-connect.yml index 63fc66b89..33e70dfcf 100644 --- a/.github/workflows/social-connect.yml +++ b/.github/workflows/social-connect.yml @@ -157,7 +157,7 @@ jobs: - run: yarn run lint - name: Dump GitHub context # Use to debug github event and check user ids - if: false + if: true env: GITHUB_CONTEXT: ${{ toJson(github) }} run: | @@ -176,7 +176,7 @@ jobs: if: github.event_name == 'pull_request' && github.event.pull_request.user.login != 'celo-org' run: | if ${{ steps.fc.outputs.comment-id == 0 }}; then - echo "Error: No Changeset Found. You create an empty changeset with `yarn cs add --empty`" && exit 1 + echo "Error: No Changeset Found. You create an empty changeset with 'yarn cs add --empty'" && exit 1 else echo "Changeset Found" fi From a7aa0e5e50012a8f110282cccb2889683740f619 Mon Sep 17 00:00:00 2001 From: Javier Cortejoso Date: Fri, 13 Oct 2023 17:40:57 +0200 Subject: [PATCH 3/4] Fix condition --- .github/workflows/social-connect.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/social-connect.yml b/.github/workflows/social-connect.yml index 33e70dfcf..cb2414a7a 100644 --- a/.github/workflows/social-connect.yml +++ b/.github/workflows/social-connect.yml @@ -166,14 +166,14 @@ jobs: uses: peter-evans/find-comment@v2 id: fc # Skip if author is github-bot from celo-org - if: github.event_name == 'pull_request' && github.event.pull_request.user.login != 'celo-org' + if: github.event_name == 'pull_request' && github.event.pull_request.user.type != 'Bot' with: issue-number: ${{ github.event.pull_request.number }} body-includes: Changeset detected comment-author: changeset-bot[bot] - name: Fail if Changeset commit not found # Skip if author is github-bot from celo-org - if: github.event_name == 'pull_request' && github.event.pull_request.user.login != 'celo-org' + if: github.event_name == 'pull_request' && github.event.pull_request.user.login != 'Bot' run: | if ${{ steps.fc.outputs.comment-id == 0 }}; then echo "Error: No Changeset Found. You create an empty changeset with 'yarn cs add --empty'" && exit 1 From d2481f29a113c252d6981155cc0bfc265ac0c39b Mon Sep 17 00:00:00 2001 From: Javier Cortejoso Date: Fri, 13 Oct 2023 17:46:49 +0200 Subject: [PATCH 4/4] Fix condition --- .github/workflows/social-connect.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/social-connect.yml b/.github/workflows/social-connect.yml index cb2414a7a..563de8d70 100644 --- a/.github/workflows/social-connect.yml +++ b/.github/workflows/social-connect.yml @@ -173,7 +173,7 @@ jobs: comment-author: changeset-bot[bot] - name: Fail if Changeset commit not found # Skip if author is github-bot from celo-org - if: github.event_name == 'pull_request' && github.event.pull_request.user.login != 'Bot' + if: github.event_name == 'pull_request' && github.event.pull_request.user.type != 'Bot' run: | if ${{ steps.fc.outputs.comment-id == 0 }}; then echo "Error: No Changeset Found. You create an empty changeset with 'yarn cs add --empty'" && exit 1