From 54e4fc77892773e0522ccd79c69e6e8d5cf5f584 Mon Sep 17 00:00:00 2001 From: Driss Guessous <32754868+drisspg@users.noreply.github.com> Date: Thu, 12 Dec 2024 22:09:38 -0800 Subject: [PATCH] Remove persisted credential (#91) stack-info: PR: https://github.com/pytorch-labs/attention-gym/pull/91, branch: drisspg/stack/4 --- .github/workflows/publish-to-pypi.yml | 2 ++ .github/workflows/ruff.yml | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 56e41ee..238c399 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -9,6 +9,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + persist-credentials: false - name: Set up Python uses: actions/setup-python@v5 with: diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index c6a406c..28a245d 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -13,7 +13,9 @@ jobs: matrix: python-version: ["3.10"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + persist-credentials: false - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v3 with: