From c067ea640030c67c549e3ca2dbad178f144e8b31 Mon Sep 17 00:00:00 2001 From: Linlang <30293408+SunsetWolf@users.noreply.github.com> Date: Mon, 24 Nov 2025 11:13:12 +0800 Subject: [PATCH] fix(ci): remove env-print step to avoid leaking sensitive environment variables (#1299) --- .github/workflows/ci.yml | 1 - .github/workflows/release.yml | 2 -- 2 files changed, 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4082be0b..c97d541d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,6 @@ jobs: with: cache: pip python-version: ${{ matrix.python-version }} - - run: env | sort - run: make dev - name: lint test docs and build run: make lint docs-gen test-offline # test docs build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2dbbc0cf..3b59cd1d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,8 +35,6 @@ jobs: run: | python -m pip install --upgrade pip pip install setuptools wheel twine # better-exceptions(optional for debug) - - run: env | sort - if: ${{ steps.release_please.outputs.release_created }} - run: make dev if: ${{ steps.release_please.outputs.release_created }} - run: make build