1313 test-action : # run the action
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/checkout@v5
16+ - name : Checkout code
17+ uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
18+ with :
19+ persist-credentials : false
1720 - uses : ./
1821 id : cspell-action
1922 env :
3538 test-action-with-file : # run the action
3639 runs-on : ubuntu-latest
3740 steps :
38- - uses : actions/checkout@v5
41+ - name : Checkout code
42+ uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
3943 with :
44+ persist-credentials : false
4045 fetch-depth : ${{ env.FETCH_DEPTH }}
4146 - uses : ./
4247 id : cspell-action
5863 test-action-no-increment : # run the action
5964 runs-on : ubuntu-latest
6065 steps :
61- - uses : actions/checkout@v5
66+ - name : Checkout code
67+ uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
6268 with :
69+ persist-credentials : false
6370 fetch-depth : ${{ env.FETCH_DEPTH }}
6471 - uses : ./
6572 id : cspell-action
8188 test-action-no-increment-verbose : # run the action
8289 runs-on : ubuntu-latest
8390 steps :
84- - uses : actions/checkout@v5
91+ - name : Checkout code
92+ uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
8593 with :
94+ persist-credentials : false
8695 fetch-depth : ${{ env.FETCH_DEPTH }}
8796 - uses : ./
8897 id : cspell-action
@@ -104,8 +113,10 @@ jobs:
104113 test-action-files-with-issues : # run the action
105114 runs-on : ubuntu-latest
106115 steps :
107- - uses : actions/checkout@v5
116+ - name : Checkout code
117+ uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
108118 with :
119+ persist-credentials : false
109120 fetch-depth : ${{ env.FETCH_DEPTH }}
110121 - uses : ./
111122 id : cspell-action
@@ -128,8 +139,10 @@ jobs:
128139 test-bad-config : # run the action
129140 runs-on : ubuntu-latest
130141 steps :
131- - uses : actions/checkout@v5
142+ - name : Checkout code
143+ uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
132144 with :
145+ persist-credentials : false
133146 fetch-depth : ${{ env.FETCH_DEPTH }}
134147 - uses : ./
135148 id : cspell-action
0 commit comments