Skip to content

Commit

Permalink
CI: disable persist-credentials for actions/checkout
Browse files Browse the repository at this point in the history
It is a possible security issue.
We do not want to persist credentials in the repo and thus exposing those
to further steps.

References:

actions/checkout#485 (comment)
azat/chdig#67
  • Loading branch information
pawel-wroniszewski committed Oct 25, 2024
1 parent 3734f1d commit 46fe235
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
persist-credentials: false

- uses: actions/cache@v4
with:
Expand Down

0 comments on commit 46fe235

Please sign in to comment.