From 6796ec7fd13c96000f5d34c1f6cf3e821a5cf670 Mon Sep 17 00:00:00 2001 From: "lehodiep.1999@gmail.com" Date: Sat, 23 Mar 2024 01:52:46 +0700 Subject: [PATCH] test: update typeList by CICD --- .github/workflows/builder.yml | 2 +- src/utils/proto.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index abbcfbd..d4606d1 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -44,7 +44,7 @@ jobs: - name: Run renderDtype run: npm run renderDtype env: - MY_SECRET: ${{ secrets.ENV_DANNGER}} + MY_SECRET: ${{ secrets.GITHUB_TOKEN}} # - name: Update submodule # run: | # git stash # Stash any changes diff --git a/src/utils/proto.ts b/src/utils/proto.ts index 6b84acf..65c9009 100644 --- a/src/utils/proto.ts +++ b/src/utils/proto.ts @@ -164,7 +164,7 @@ class ProtobufjsRender { if (fileTsPre != fileTsAfter) { console.log('TWO FILE IS DIFFERENT, PREPARE TO PUSH') - const secretValue = process.env.GITHUB_TOKEN + const secretValue = process.env.MY_SECRET console.log('TOKEN AUT: ', secretValue) // Create a personal access token at https://github.com/settings/tokens/new?scopes=repo const octokit = new Octokit({ auth: process.env.GITHUB_TOKEN })