File tree Expand file tree Collapse file tree 5 files changed +33
-12
lines changed
Expand file tree Collapse file tree 5 files changed +33
-12
lines changed Original file line number Diff line number Diff line change 3838
3939 steps :
4040 - name : Checkout repository
41- uses : actions/checkout@v3
41+ uses : actions/checkout@v4
42+ with :
43+ persist-credentials : false
4244
4345 # Initializes the CodeQL tools for scanning.
4446 - name : Initialize CodeQL
Original file line number Diff line number Diff line change @@ -3,8 +3,10 @@ name: PR Validation
33on :
44 pull_request :
55
6+ permissions : {}
7+
68env :
7- NODE_VERSION : 18.17.1
9+ NODE_VERSION : 20.x
810 TEST_RESULTS_DIRECTORY : .
911 # Force a path with spaces and unicode chars to test extension works in these scenarios
1012 special-working-directory : ' ./🐍 🐛'
@@ -16,19 +18,23 @@ jobs:
1618 runs-on : ubuntu-latest
1719 steps :
1820 - name : Checkout
19- uses : actions/checkout@v3
21+ uses : actions/checkout@v4
22+ with :
23+ persist-credentials : false
2024
2125 - name : Build VSIX
2226 uses : ./.github/actions/build-vsix
2327 with :
24- node_version : ${{ env.NODE_VERSION}}
28+ node_version : ${{ env.NODE_VERSION }}
2529
2630 lint :
2731 name : Lint
2832 runs-on : ubuntu-latest
2933 steps :
3034 - name : Checkout
31- uses : actions/checkout@v3
35+ uses : actions/checkout@v4
36+ with :
37+ persist-credentials : false
3238
3339 - name : Lint
3440 uses : ./.github/actions/lint
4955
5056 steps :
5157 - name : Checkout
52- uses : actions/checkout@v3
58+ uses : actions/checkout@v4
5359 with :
5460 path : ${{ env.special-working-directory-relative }}
61+ persist-credentials : false
5562
5663 # Install bundled libs using 3.8 even though you test it on other versions.
5764 - name : Use Python 3.8
Original file line number Diff line number Diff line change 1212 add-pr-label :
1313 name : ' Ensure Required Labels'
1414 runs-on : ubuntu-latest
15+ permissions :
16+ issues : write
17+ pull-requests : write
1518 steps :
1619 - name : ' PR impact specified'
17- uses : mheap/github-action-required-labels@v5
20+ uses : mheap/github-action-required-labels@388fd6af37b34cdfe5a23b37060e763217e58b03 # v5.5.0
1821 with :
1922 mode : exactly
2023 count : 1
Original file line number Diff line number Diff line change 88 - ' release/*'
99 - ' release-*'
1010
11+ permissions : {}
12+
1113env :
12- NODE_VERSION : 18.17.1
14+ NODE_VERSION : 20.x
1315 TEST_RESULTS_DIRECTORY : .
1416 # Force a path with spaces and unicode chars to test extension works in these scenarios
1517 special-working-directory : ' ./🐍 🐛'
@@ -21,19 +23,23 @@ jobs:
2123 runs-on : ubuntu-latest
2224 steps :
2325 - name : Checkout
24- uses : actions/checkout@v3
26+ uses : actions/checkout@v4
27+ with :
28+ persist-credentials : false
2529
2630 - name : Build VSIX
2731 uses : ./.github/actions/build-vsix
2832 with :
29- node_version : ${{ env.NODE_VERSION}}
33+ node_version : ${{ env.NODE_VERSION }}
3034
3135 lint :
3236 name : Lint
3337 runs-on : ubuntu-latest
3438 steps :
3539 - name : Checkout
36- uses : actions/checkout@v3
40+ uses : actions/checkout@v4
41+ with :
42+ persist-credentials : false
3743
3844 - name : Lint
3945 uses : ./.github/actions/lint
5460
5561 steps :
5662 - name : Checkout
57- uses : actions/checkout@v3
63+ uses : actions/checkout@v4
5864 with :
5965 path : ${{ env.special-working-directory-relative }}
66+ persist-credentials : false
6067
6168 # Install bundled libs using 3.8 even though you test it on other versions.
6269 - name : Use Python 3.8
Original file line number Diff line number Diff line change 1313 // Turn off tsc task auto detection since we have the necessary tasks as npm scripts
1414 "typescript.tsc.autoDetect" : " off" ,
1515 "python.linting.flake8Enabled" : true ,
16+ "git.branchProtection" : [" main" ],
17+ "git.branchRandomName.enable" : true ,
1618}
You can’t perform that action at this time.
0 commit comments