From a7b570062e69502fa7e209fb2e224c687ce23a60 Mon Sep 17 00:00:00 2001 From: Dale Seo <5466341+DaleSeo@users.noreply.github.com> Date: Thu, 9 Apr 2026 18:59:41 -0400 Subject: [PATCH] fix: pass GIT_TOKEN to release-plz CLI (#798) * fix: pass GIT_TOKEN to release-plz CLI * fix: bump Node.js to 22 in CI for SDK compatibility --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/release-plz.yml | 2 ++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e329e1..4c3b3dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v6 with: - node-version: '20' + node-version: '22' - name: Install commitlint run: | @@ -79,7 +79,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v6 with: - node-version: '20' + node-version: '22' - name: Install uv uses: astral-sh/setup-uv@v7 @@ -108,7 +108,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v6 with: - node-version: '20' + node-version: '22' - name: Install uv uses: astral-sh/setup-uv@v7 @@ -144,7 +144,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v6 with: - node-version: '20' + node-version: '22' - name: Install uv uses: astral-sh/setup-uv@v7 @@ -179,7 +179,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v6 with: - node-version: '20' + node-version: '22' - name: Install uv uses: astral-sh/setup-uv@v7 diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml index 804af22..cb92ee8 100644 --- a/.github/workflows/release-plz.yml +++ b/.github/workflows/release-plz.yml @@ -34,6 +34,7 @@ jobs: - name: Run release-plz release run: release-plz release env: + GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} @@ -64,5 +65,6 @@ jobs: - name: Run release-plz release-pr run: release-plz release-pr env: + GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} \ No newline at end of file