Skip to content

Commit

Permalink
ci: Set "persist-credentials" to false for all GH actions/checkout. (
Browse files Browse the repository at this point in the history
  • Loading branch information
junhaoliao authored Jan 6, 2025
1 parent 8041816 commit 5a3bd10
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
steps:
- uses: "actions/checkout@v4"
with:
persist-credentials: false
submodules: "recursive"

- uses: "actions/setup-node@v4"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
steps:
- uses: "actions/checkout@v4"
with:
persist-credentials: false
submodules: "recursive"
- uses: "actions/setup-node@v4"
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
steps:
- uses: "actions/checkout@v4"
with:
persist-credentials: false
submodules: "recursive"
- uses: "actions/setup-node@v4"
with:
Expand Down

0 comments on commit 5a3bd10

Please sign in to comment.