88 - ' release/*'
99 - ' release-*'
1010
11+ permissions : {}
12+
1113env :
1214 NODE_VERSION : 20.18.0
1315 PYTHON_VERSION : ' 3.10' # YML treats 3.10 the number as 3.1, so quotes around 3.10
@@ -83,12 +85,15 @@ jobs:
8385 steps :
8486 - name : Checkout
8587 uses : actions/checkout@v4
88+ with :
89+ persist-credentials : false
8690
8791 - name : Checkout Python Environment Tools
8892 uses : actions/checkout@v4
8993 with :
9094 repository : ' microsoft/python-environment-tools'
9195 path : ' python-env-tools'
96+ persist-credentials : false
9297 sparse-checkout : |
9398 crates
9499 Cargo.toml
@@ -111,6 +116,8 @@ jobs:
111116 steps :
112117 - name : Checkout
113118 uses : actions/checkout@v4
119+ with :
120+ persist-credentials : false
114121
115122 - name : Lint
116123 uses : ./.github/actions/lint
@@ -129,14 +136,16 @@ jobs:
129136
130137 - name : Checkout
131138 uses : actions/checkout@v4
139+ with :
140+ persist-credentials : false
132141
133142 - name : Install core Python requirements
134- uses : brettcannon/pip-secure-install@v1
143+ uses : brettcannon/pip-secure-install@92f400e3191171c1858cc0e0d9ac6320173fdb0c # v1.0.0
135144 with :
136145 options : ' -t ./python_files/lib/python --no-cache-dir --implementation py'
137146
138147 - name : Install Jedi requirements
139- uses : brettcannon/pip-secure-install@v1
148+ uses : brettcannon/pip-secure-install@92f400e3191171c1858cc0e0d9ac6320173fdb0c # v1.0.0
140149 with :
141150 requirements-file : ' ./python_files/jedilsp_requirements/requirements.txt'
142151 options : ' -t ./python_files/lib/jedilsp --no-cache-dir --implementation py'
@@ -146,7 +155,7 @@ jobs:
146155 python -m pip install --upgrade -r build/test-requirements.txt
147156
148157 - name : Run Pyright
149- uses : jakebailey/pyright-action@v2
158+ uses : jakebailey/pyright-action@b5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe # v2.3.2
150159 with :
151160 version : 1.1.308
152161 working-directory : ' python_files'
@@ -172,14 +181,15 @@ jobs:
172181 uses : actions/checkout@v4
173182 with :
174183 path : ${{ env.special-working-directory-relative }}
184+ persist-credentials : false
175185
176186 - name : Use Python ${{ matrix.python }}
177187 uses : actions/setup-python@v5
178188 with :
179189 python-version : ${{ matrix.python }}
180190
181191 - name : Install base Python requirements
182- uses : brettcannon/pip-secure-install@v1
192+ uses : brettcannon/pip-secure-install@92f400e3191171c1858cc0e0d9ac6320173fdb0c # v1.0.0
183193 with :
184194 requirements-file : ' "${{ env.special-working-directory-relative }}/requirements.txt"'
185195 options : ' -t "${{ env.special-working-directory-relative }}/python_files/lib/python" --no-cache-dir --implementation py'
@@ -211,12 +221,14 @@ jobs:
211221 uses : actions/checkout@v4
212222 with :
213223 path : ${{ env.special-working-directory-relative }}
224+ persist-credentials : false
214225
215226 - name : Checkout Python Environment Tools
216227 uses : actions/checkout@v4
217228 with :
218229 repository : ' microsoft/python-environment-tools'
219230 path : ${{ env.special-working-directory-relative }}/python-env-tools
231+ persist-credentials : false
220232 sparse-checkout : |
221233 crates
222234 Cargo.toml
@@ -358,7 +370,7 @@ jobs:
358370 env :
359371 TEST_FILES_SUFFIX : testvirtualenvs
360372 CI_PYTHON_VERSION : ${{ matrix.python }}
361- 373+ uses : GabrielBB/xvfb-action@b706e4e27b14669b486812790492dc50ca16b465 # v1.7
362374 with :
363375 run : npm run testSingleWorkspace
364376 working-directory : ${{ env.special-working-directory }}
@@ -367,7 +379,7 @@ jobs:
367379 - name : Run single-workspace tests
368380 env :
369381 CI_PYTHON_VERSION : ${{ matrix.python }}
370- 382+ uses : GabrielBB/xvfb-action@b706e4e27b14669b486812790492dc50ca16b465 # v1.7
371383 with :
372384 run : npm run testSingleWorkspace
373385 working-directory : ${{ env.special-working-directory }}
@@ -376,7 +388,7 @@ jobs:
376388 - name : Run multi-workspace tests
377389 env :
378390 CI_PYTHON_VERSION : ${{ matrix.python }}
379- 391+ uses : GabrielBB/xvfb-action@b706e4e27b14669b486812790492dc50ca16b465 # v1.7
380392 with :
381393 run : npm run testMultiWorkspace
382394 working-directory : ${{ env.special-working-directory }}
@@ -385,7 +397,7 @@ jobs:
385397 - name : Run debugger tests
386398 env :
387399 CI_PYTHON_VERSION : ${{ matrix.python }}
388- 400+ uses : GabrielBB/xvfb-action@b706e4e27b14669b486812790492dc50ca16b465 # v1.7
389401 with :
390402 run : npm run testDebugger
391403 working-directory : ${{ env.special-working-directory }}
@@ -415,12 +427,15 @@ jobs:
415427 steps :
416428 - name : Checkout
417429 uses : actions/checkout@v4
430+ with :
431+ persist-credentials : false
418432
419433 - name : Checkout Python Environment Tools
420434 uses : actions/checkout@v4
421435 with :
422436 repository : ' microsoft/python-environment-tools'
423437 path : ${{ env.special-working-directory-relative }}/python-env-tools
438+ persist-credentials : false
424439 sparse-checkout : |
425440 crates
426441 Cargo.toml
0 commit comments