From 34b6a68a30c40bed119ed284742a16e49b267b2e Mon Sep 17 00:00:00 2001 From: Ray <11846445+A77AY@users.noreply.github.com> Date: Thu, 4 Jun 2026 17:37:02 +0400 Subject: [PATCH 1/5] try --- .github/workflows/frontend-publish.yml | 9 +++++---- .github/workflows/proto-publish.yml | 23 +++++++++++++++++++++++ 2 files changed, 28 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/proto-publish.yml diff --git a/.github/workflows/frontend-publish.yml b/.github/workflows/frontend-publish.yml index 5c1c6842..00dc82f5 100644 --- a/.github/workflows/frontend-publish.yml +++ b/.github/workflows/frontend-publish.yml @@ -3,11 +3,12 @@ name: "Frontend: Publish" on: push: branches: ["master", "main"] + pull_request: -permissions: - contents: read - id-token: write +# permissions: +# contents: read +# id-token: write jobs: publish: - uses: valitydev/action-frontend/.github/workflows/proto-publish.yml@v3 + uses: ./.github/workflows/proto-publish.yml diff --git a/.github/workflows/proto-publish.yml b/.github/workflows/proto-publish.yml new file mode 100644 index 00000000..8dee9b6b --- /dev/null +++ b/.github/workflows/proto-publish.yml @@ -0,0 +1,23 @@ +name: "Publish Proto Library" + +on: + workflow_call: + +permissions: + contents: read + id-token: write + +jobs: + proto-publish: + name: "Publish Proto Library" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: valitydev/action-setup-thrift@v1 + - uses: valitydev/action-frontend/setup-install@v3 + with: + release: true + - name: Build + run: npm run codegen + - name: Publish + uses: valitydev/action-frontend/publish@v3 From 9597c57799f2a119e65db34b07849a7fcdb4d41c Mon Sep 17 00:00:00 2001 From: Ray <11846445+A77AY@users.noreply.github.com> Date: Thu, 4 Jun 2026 17:38:53 +0400 Subject: [PATCH 2/5] try --- .github/workflows/frontend-publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/frontend-publish.yml b/.github/workflows/frontend-publish.yml index 00dc82f5..4f709814 100644 --- a/.github/workflows/frontend-publish.yml +++ b/.github/workflows/frontend-publish.yml @@ -5,9 +5,9 @@ on: branches: ["master", "main"] pull_request: -# permissions: -# contents: read -# id-token: write +permissions: + contents: read + id-token: write jobs: publish: From d0c31b02dabe26fdeb0226a324dbb17567bbb6f8 Mon Sep 17 00:00:00 2001 From: Ray <11846445+A77AY@users.noreply.github.com> Date: Thu, 4 Jun 2026 17:39:36 +0400 Subject: [PATCH 3/5] fix --- .github/workflows/frontend-pr.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/frontend-pr.yml b/.github/workflows/frontend-pr.yml index c103c8e6..a30218c0 100644 --- a/.github/workflows/frontend-pr.yml +++ b/.github/workflows/frontend-pr.yml @@ -3,6 +3,9 @@ name: "Frontend: PR" on: pull_request: +permissions: + contents: read + jobs: check: uses: valitydev/action-frontend/.github/workflows/proto-check.yml@v3 From b8f1fb22f65f5412ab6829e1a268765db0ca1b94 Mon Sep 17 00:00:00 2001 From: Ray <11846445+A77AY@users.noreply.github.com> Date: Thu, 4 Jun 2026 17:52:36 +0400 Subject: [PATCH 4/5] try lts nodejs --- .github/workflows/proto-publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/proto-publish.yml b/.github/workflows/proto-publish.yml index 8dee9b6b..a37d5337 100644 --- a/.github/workflows/proto-publish.yml +++ b/.github/workflows/proto-publish.yml @@ -17,6 +17,7 @@ jobs: - uses: valitydev/action-frontend/setup-install@v3 with: release: true + node-version: "lts/*" - name: Build run: npm run codegen - name: Publish From 4dd41113f494b5740f6a7fa5c3a11e680e09d6ad Mon Sep 17 00:00:00 2001 From: Ray <11846445+A77AY@users.noreply.github.com> Date: Thu, 4 Jun 2026 17:57:07 +0400 Subject: [PATCH 5/5] fix pub --- .github/workflows/frontend-publish.yml | 3 +-- .github/workflows/proto-publish.yml | 24 ------------------------ 2 files changed, 1 insertion(+), 26 deletions(-) delete mode 100644 .github/workflows/proto-publish.yml diff --git a/.github/workflows/frontend-publish.yml b/.github/workflows/frontend-publish.yml index 4f709814..5c1c6842 100644 --- a/.github/workflows/frontend-publish.yml +++ b/.github/workflows/frontend-publish.yml @@ -3,7 +3,6 @@ name: "Frontend: Publish" on: push: branches: ["master", "main"] - pull_request: permissions: contents: read @@ -11,4 +10,4 @@ permissions: jobs: publish: - uses: ./.github/workflows/proto-publish.yml + uses: valitydev/action-frontend/.github/workflows/proto-publish.yml@v3 diff --git a/.github/workflows/proto-publish.yml b/.github/workflows/proto-publish.yml deleted file mode 100644 index a37d5337..00000000 --- a/.github/workflows/proto-publish.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: "Publish Proto Library" - -on: - workflow_call: - -permissions: - contents: read - id-token: write - -jobs: - proto-publish: - name: "Publish Proto Library" - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - - uses: valitydev/action-setup-thrift@v1 - - uses: valitydev/action-frontend/setup-install@v3 - with: - release: true - node-version: "lts/*" - - name: Build - run: npm run codegen - - name: Publish - uses: valitydev/action-frontend/publish@v3