Skip to content

Commit 03441b3

Browse files
authored
Pin GitHub action references (#1865)
## Summary - Pin all GitHub action references to their commit SHAs - Each SHA maps to the current tag for the action at the time of pinning
1 parent 62a94e1 commit 03441b3

File tree

9 files changed

+15
-15
lines changed

9 files changed

+15
-15
lines changed

.github/workflows/create-build-artifacts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v4
1818

1919
- name: Use Node.js 22
20-
uses: actions/setup-node@v4
20+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2121
with:
2222
node-version: 22
2323
cache: "yarn"

.github/workflows/integration-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
- name: Generate GitHub App Token for Check Updates
4747
id: generate-check-token
48-
uses: actions/create-github-app-token@v1
48+
uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1.12.0
4949
with:
5050
app-id: ${{ secrets.DECO_TEST_APPROVAL_APP_ID }}
5151
private-key: ${{ secrets.DECO_TEST_APPROVAL_PRIVATE_KEY }}
@@ -69,7 +69,7 @@ jobs:
6969
7070
- name: Generate GitHub App Token for Workflow Trigger
7171
id: generate-token
72-
uses: actions/create-github-app-token@v1
72+
uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1.12.0
7373
with:
7474
app-id: ${{ secrets.DECO_WORKFLOW_TRIGGER_APP_ID }}
7575
private-key: ${{ secrets.DECO_WORKFLOW_TRIGGER_PRIVATE_KEY }}
@@ -101,7 +101,7 @@ jobs:
101101

102102
steps:
103103
- name: Auto-approve Check for Merge Queue
104-
uses: actions/github-script@v7
104+
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
105105
with:
106106
script: |
107107
await github.rest.checks.create({

.github/workflows/nightly-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- run: ls -lR packages/databricks-vscode
2626

2727
- name: Update nightly release
28-
uses: softprops/action-gh-release@v1
28+
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15
2929
with:
3030
name: Nightly - ${{ github.ref_name }}
3131
prerelease: true

.github/workflows/publish-to-openvsx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: Use Node.js 22.x
24-
uses: actions/setup-node@v4
24+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2525
with:
2626
node-version: 22.x
2727

.github/workflows/publish-to-vscode.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: Use Node.js 22.x
24-
uses: actions/setup-node@v4
24+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2525
with:
2626
node-version: 22.x
2727

.github/workflows/push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515

1616
- name: Use Node.js 22.x
17-
uses: actions/setup-node@v4
17+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
1818
with:
1919
node-version: 22.x
2020
cache: "yarn"
@@ -37,7 +37,7 @@ jobs:
3737
working-directory: packages/databricks-vscode
3838

3939
- name: Upload artifacts
40-
uses: actions/upload-artifact@v4
40+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
4141
with:
4242
name: VSIX artifacts
4343
path: packages/databricks-vscode/artifacts

.github/workflows/release-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
git config --global user.email "noreply@github.com"
4040
4141
- name: Use Node.js ${{ matrix.node-version }}
42-
uses: actions/setup-node@v4
42+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
4343
with:
4444
node-version: ${{ matrix.node-version }}
4545
cache: "yarn"

.github/workflows/unit-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ jobs:
3232
- uses: actions/checkout@v4
3333

3434
- name: Use Node.js ${{ matrix.node-version }}
35-
uses: actions/setup-node@v4
35+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3636
with:
3737
node-version: ${{ matrix.node-version }}
3838
cache: "yarn"
3939

4040
- name: Cache VSCode unit test runner
41-
uses: actions/cache@v4
41+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
4242
with:
4343
path: /tmp/vscode-test-databricks
4444
key: ${{ matrix.arch.cli_arch }}-${{ matrix.vscode-version }}-vscode-test
@@ -59,13 +59,13 @@ jobs:
5959
run: yarn run build
6060

6161
- name: Unit Tests with Coverage
62-
uses: coactions/setup-xvfb@v1
62+
uses: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3 # v1.0.1
6363
with:
6464
run: yarn run test:cov
6565
working-directory: packages/databricks-vscode
6666

6767
- name: Install Python
68-
uses: actions/setup-python@v5
68+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
6969
with:
7070
python-version: "3.12" # 3.13+ is not yet supported by the latest DBR
7171

.github/workflows/update-cli-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: jq '.cli.version = "${{ github.event.inputs.version }}"' packages/databricks-vscode/package.json --indent 4 > tmp.json && mv tmp.json packages/databricks-vscode/package.json
3030

3131
- name: Create a pull request
32-
uses: peter-evans/create-pull-request@v5
32+
uses: peter-evans/create-pull-request@4e1beaa7521e8b457b572c090b25bd3db56bf1c5 # v5.0.3
3333
with:
3434
token: ${{ secrets.DECO_GITHUB_TOKEN }}
3535
commit-message: Update Databricks CLI to v${{ github.event.inputs.version }}

0 commit comments

Comments
 (0)