Skip to content

Commit 8421828

Browse files
Pin GitHub Actions to full-length commit SHAs
1 parent e070bb5 commit 8421828

9 files changed

Lines changed: 38 additions & 27 deletions

File tree

.github/actions/build-vsix/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ runs:
1010
using: 'composite'
1111
steps:
1212
- name: Install Node
13-
uses: actions/setup-node@v4
13+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
1414
with:
1515
node-version: ${{ inputs.node_version }}
1616
cache: 'npm'
1717

1818
# Minimum supported version is Python 3.10 (debugpy no longer supports Python 3.9,
1919
# and pip 26.1+ requires Python >= 3.10)
2020
- name: Use Python 3.10
21-
uses: actions/setup-python@v5
21+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2222
with:
2323
python-version: '3.10'
2424

2525
- name: Pip cache
26-
uses: actions/cache@v4
26+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
2727
with:
2828
path: ~/.cache/pip
2929
key: ${{ runner.os }}-pip-build-vsix-${{ hashFiles('**/requirements.txt') }}
@@ -55,7 +55,7 @@ runs:
5555
shell: bash
5656

5757
- name: Upload VSIX
58-
uses: actions/upload-artifact@v4
58+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
5959
with:
6060
name: linter-package
6161
path: |

.github/actions/lint/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ runs:
1010
using: 'composite'
1111
steps:
1212
- name: Install Node
13-
uses: actions/setup-node@v4
13+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
1414
with:
1515
node-version: ${{ inputs.node_version }}
1616
cache: 'npm'
@@ -28,12 +28,12 @@ runs:
2828
shell: bash
2929

3030
- name: Install Python
31-
uses: actions/setup-python@v5
31+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
3232
with:
3333
python-version: '3.10'
3434

3535
- name: Pip cache
36-
uses: actions/cache@v4
36+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
3737
with:
3838
path: ~/.cache/pip
3939
key: ${{ runner.os }}-pip-lint-${{ hashFiles('**/requirements.txt') }}

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
groups:
6+
github-actions:
7+
patterns: ["*"]
8+
schedule:
9+
interval: "weekly"
10+
cooldown:
11+
default-days: 7

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
4242
with:
4343
persist-credentials: false
4444

4545
# Initializes the CodeQL tools for scanning.
4646
- name: Initialize CodeQL
47-
uses: github/codeql-action/init@v3
47+
uses: github/codeql-action/init@02c5e83432fe5497fd85b873b6c9f16a8578e1d9 # v3.37.0
4848
with:
4949
languages: ${{ matrix.language }}
5050
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -55,7 +55,7 @@ jobs:
5555
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5656
# If this step fails, then you should remove it and run the build manually (see below)
5757
- name: Autobuild
58-
uses: github/codeql-action/autobuild@v3
58+
uses: github/codeql-action/autobuild@02c5e83432fe5497fd85b873b6c9f16a8578e1d9 # v3.37.0
5959

6060
# ℹ️ Command-line programs to run using the OS shell.
6161
# 📚 https://git.io/JvXDl
@@ -69,4 +69,4 @@ jobs:
6969
# make release
7070

7171
- name: Perform CodeQL Analysis
72-
uses: github/codeql-action/analyze@v3
72+
uses: github/codeql-action/analyze@02c5e83432fe5497fd85b873b6c9f16a8578e1d9 # v3.37.0

.github/workflows/community-feedback-auto-comment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
issues: write
1313
steps:
1414
- name: Check For Existing Comment
15-
uses: peter-evans/find-comment@v3
15+
uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e # v3.1.0
1616
id: finder
1717
with:
1818
issue-number: ${{ github.event.issue.number }}
@@ -21,7 +21,7 @@ jobs:
2121

2222
- name: Add Community Feedback Comment
2323
if: steps.finder.outputs.comment-id == ''
24-
uses: peter-evans/create-or-update-comment@v4
24+
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
2525
with:
2626
issue-number: ${{ github.event.issue.number }}
2727
body: |

.github/workflows/info-needed-closer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout Actions
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
1818
with:
1919
repository: 'microsoft/vscode-github-triage-actions'
2020
path: ./actions

.github/workflows/issue-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout Actions
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
2121
with:
2222
repository: 'microsoft/vscode-github-triage-actions'
2323
ref: stable

.github/workflows/pr-check.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
2222
with:
2323
persist-credentials: false
2424

@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ubuntu-latest
3333
steps:
3434
- name: Checkout
35-
uses: actions/checkout@v4
35+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
3636
with:
3737
persist-credentials: false
3838

@@ -55,15 +55,15 @@ jobs:
5555

5656
steps:
5757
- name: Checkout
58-
uses: actions/checkout@v4
58+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
5959
with:
6060
path: ${{ env.special-working-directory-relative }}
6161
persist-credentials: false
6262

6363
# Install bundled libs using 3.10 (minimum supported; debugpy dropped 3.9 support,
6464
# and pip 26.1+ requires Python >= 3.10).
6565
- name: Use Python 3.10
66-
uses: actions/setup-python@v5
66+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
6767
with:
6868
python-version: '3.10'
6969

@@ -77,7 +77,7 @@ jobs:
7777
shell: bash
7878

7979
- name: Install Node
80-
uses: actions/setup-node@v4
80+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
8181
with:
8282
node-version: ${{ env.NODE_VERSION }}
8383
cache: 'npm'
@@ -89,7 +89,7 @@ jobs:
8989
# Now that the bundle is installed to target using python 3.9
9090
# switch back the python we want to test with
9191
- name: Use Python ${{ matrix.python }}
92-
uses: actions/setup-python@v5
92+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
9393
with:
9494
python-version: ${{ matrix.python }}
9595

.github/workflows/push-check.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
2727
with:
2828
persist-credentials: false
2929

@@ -37,7 +37,7 @@ jobs:
3737
runs-on: ubuntu-latest
3838
steps:
3939
- name: Checkout
40-
uses: actions/checkout@v4
40+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
4141
with:
4242
persist-credentials: false
4343

@@ -60,15 +60,15 @@ jobs:
6060

6161
steps:
6262
- name: Checkout
63-
uses: actions/checkout@v4
63+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
6464
with:
6565
path: ${{ env.special-working-directory-relative }}
6666
persist-credentials: false
6767

6868
# Install bundled libs using 3.10 (minimum supported; debugpy dropped 3.9 support,
6969
# and pip 26.1+ requires Python >= 3.10).
7070
- name: Use Python 3.10
71-
uses: actions/setup-python@v5
71+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
7272
with:
7373
python-version: '3.10'
7474

@@ -82,7 +82,7 @@ jobs:
8282
shell: bash
8383

8484
- name: Install Node
85-
uses: actions/setup-node@v4
85+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
8686
with:
8787
node-version: ${{ env.NODE_VERSION }}
8888
cache: 'npm'
@@ -94,7 +94,7 @@ jobs:
9494
# Now that the bundle is installed to target using python 3.9
9595
# switch back the python we want to test with
9696
- name: Use Python ${{ matrix.python }}
97-
uses: actions/setup-python@v5
97+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
9898
with:
9999
python-version: ${{ matrix.python }}
100100

0 commit comments

Comments
 (0)