Skip to content

Commit 15d3178

Browse files
committed
Pin actions to commit SHA
1 parent 98aa899 commit 15d3178

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/bat.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ jobs:
88
name: Build and Test
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v6
12-
- uses: actions/setup-node@v6
11+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
12+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
1313
with:
1414
node-version: 24
1515
- name: Perform npm tasks
1616
run: npm run ci
17-
- uses: actions/upload-artifact@v7
17+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
1818
with:
1919
name: built-action
2020
path: |
@@ -28,11 +28,11 @@ jobs:
2828
matrix:
2929
os: [ubuntu-latest, windows-latest, macos-latest, macos-14]
3030
steps:
31-
- uses: actions/download-artifact@v8
31+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
3232
with:
3333
name: built-action
3434
- name: Perform 'setup-matlab'
35-
uses: matlab-actions/setup-matlab@v3
35+
uses: matlab-actions/setup-matlab@a0180c939fb1a28de13f44f7b778b912384ced1f # v3.0.1
3636
with:
3737
products: MATLAB_Test
3838
- name: Greet the world in style

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
outputs:
1616
tag: ${{ steps.update-package-version.outputs.version }}
1717
steps:
18-
- uses: actions/checkout@v6
18+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1919
- name: Configure git
2020
run: |
2121
git config user.name 'Release Action'
2222
git config user.email '<>'
23-
- uses: actions/setup-node@v6
23+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
2424
with:
2525
node-version: 24
2626

@@ -41,7 +41,7 @@ jobs:
4141
run: npm run ci
4242

4343
- name: Generate signed attestations for workflow artifacts
44-
uses: actions/attest@v4
44+
uses: actions/attest@508db95dd578ae2727ebd6217d5ba78e4fbda05d # v4.2.1
4545
with:
4646
subject-path: dist/bin/**/run-matlab-command*
4747

0 commit comments

Comments
 (0)