From 5a3bd105599b9c1861487bc217615b50e785e15e Mon Sep 17 00:00:00 2001 From: Junhao Liao Date: Mon, 6 Jan 2025 14:12:34 -0500 Subject: [PATCH] ci: Set "persist-credentials" to false for all GH `actions/checkout`. (#162) --- .github/workflows/deploy-gh-pages.yaml | 1 + .github/workflows/lint.yaml | 1 + .github/workflows/test.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/deploy-gh-pages.yaml b/.github/workflows/deploy-gh-pages.yaml index dd1f139a..49f6a862 100644 --- a/.github/workflows/deploy-gh-pages.yaml +++ b/.github/workflows/deploy-gh-pages.yaml @@ -18,6 +18,7 @@ jobs: steps: - uses: "actions/checkout@v4" with: + persist-credentials: false submodules: "recursive" - uses: "actions/setup-node@v4" diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index e9d494a9..e5a16f15 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -27,6 +27,7 @@ jobs: steps: - uses: "actions/checkout@v4" with: + persist-credentials: false submodules: "recursive" - uses: "actions/setup-node@v4" with: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e6efb5db..c5afc446 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -23,6 +23,7 @@ jobs: steps: - uses: "actions/checkout@v4" with: + persist-credentials: false submodules: "recursive" - uses: "actions/setup-node@v4" with: