Skip to content

Commit 977207d

Browse files
authored
Pin SHA for all github actions (#26958)
1 parent 87a5f1a commit 977207d

15 files changed

+50
-50
lines changed

.github/workflows/cast_deployment.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
url: ${{ steps.deploy.outputs.NETLIFY_LIVE_URL || steps.deploy.outputs.NETLIFY_URL }}
2222
steps:
2323
- name: Check out files from GitHub
24-
uses: actions/[email protected]
24+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2525
with:
2626
ref: dev
2727

2828
- name: Setup Node
29-
uses: actions/[email protected]
29+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
3030
with:
3131
node-version-file: ".nvmrc"
3232
cache: yarn
@@ -56,12 +56,12 @@ jobs:
5656
url: ${{ steps.deploy.outputs.NETLIFY_LIVE_URL || steps.deploy.outputs.NETLIFY_URL }}
5757
steps:
5858
- name: Check out files from GitHub
59-
uses: actions/[email protected]
59+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
6060
with:
6161
ref: master
6262

6363
- name: Setup Node
64-
uses: actions/[email protected]
64+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
6565
with:
6666
node-version-file: ".nvmrc"
6767
cache: yarn

.github/workflows/ci.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: Check out files from GitHub
27-
uses: actions/[email protected]
27+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2828
- name: Setup Node
29-
uses: actions/[email protected]
29+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
3030
with:
3131
node-version-file: ".nvmrc"
3232
cache: yarn
@@ -37,7 +37,7 @@ jobs:
3737
- name: Build resources
3838
run: ./node_modules/.bin/gulp gen-icons-json build-translations build-locale-data gather-gallery-pages
3939
- name: Setup lint cache
40-
uses: actions/[email protected]
40+
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
4141
with:
4242
path: |
4343
node_modules/.cache/prettier
@@ -58,9 +58,9 @@ jobs:
5858
runs-on: ubuntu-latest
5959
steps:
6060
- name: Check out files from GitHub
61-
uses: actions/[email protected]
61+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
6262
- name: Setup Node
63-
uses: actions/[email protected]
63+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
6464
with:
6565
node-version-file: ".nvmrc"
6666
cache: yarn
@@ -76,9 +76,9 @@ jobs:
7676
runs-on: ubuntu-latest
7777
steps:
7878
- name: Check out files from GitHub
79-
uses: actions/[email protected]
79+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
8080
- name: Setup Node
81-
uses: actions/[email protected]
81+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
8282
with:
8383
node-version-file: ".nvmrc"
8484
cache: yarn
@@ -89,7 +89,7 @@ jobs:
8989
env:
9090
IS_TEST: "true"
9191
- name: Upload bundle stats
92-
uses: actions/[email protected]
92+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
9393
with:
9494
name: frontend-bundle-stats
9595
path: build/stats/*.json
@@ -100,9 +100,9 @@ jobs:
100100
runs-on: ubuntu-latest
101101
steps:
102102
- name: Check out files from GitHub
103-
uses: actions/[email protected]
103+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
104104
- name: Setup Node
105-
uses: actions/[email protected]
105+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
106106
with:
107107
node-version-file: ".nvmrc"
108108
cache: yarn
@@ -113,7 +113,7 @@ jobs:
113113
env:
114114
IS_TEST: "true"
115115
- name: Upload bundle stats
116-
uses: actions/[email protected]
116+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
117117
with:
118118
name: supervisor-bundle-stats
119119
path: build/stats/*.json

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
steps:
2525
- name: Checkout repository
26-
uses: actions/[email protected]
26+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2727
with:
2828
# We must fetch at least the immediate parents so that if this is
2929
# a pull request then we can checkout the head.
@@ -36,14 +36,14 @@ jobs:
3636

3737
# Initializes the CodeQL tools for scanning.
3838
- name: Initialize CodeQL
39-
uses: github/codeql-action/init@v3
39+
uses: github/codeql-action/init@2d92b76c45b91eb80fc44c74ce3fce0ee94e8f9d # v3.30.0
4040
with:
4141
languages: ${{ matrix.language }}
4242

4343
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
4444
# If this step fails, then you should remove it and run the build manually (see below)
4545
- name: Autobuild
46-
uses: github/codeql-action/autobuild@v3
46+
uses: github/codeql-action/autobuild@2d92b76c45b91eb80fc44c74ce3fce0ee94e8f9d # v3.30.0
4747

4848
# ℹ️ Command-line programs to run using the OS shell.
4949
# 📚 https://git.io/JvXDl
@@ -57,4 +57,4 @@ jobs:
5757
# make release
5858

5959
- name: Perform CodeQL Analysis
60-
uses: github/codeql-action/analyze@v3
60+
uses: github/codeql-action/analyze@2d92b76c45b91eb80fc44c74ce3fce0ee94e8f9d # v3.30.0

.github/workflows/demo_deployment.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222
url: ${{ steps.deploy.outputs.NETLIFY_LIVE_URL || steps.deploy.outputs.NETLIFY_URL }}
2323
steps:
2424
- name: Check out files from GitHub
25-
uses: actions/[email protected]
25+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2626
with:
2727
ref: dev
2828

2929
- name: Setup Node
30-
uses: actions/[email protected]
30+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
3131
with:
3232
node-version-file: ".nvmrc"
3333
cache: yarn
@@ -57,12 +57,12 @@ jobs:
5757
url: ${{ steps.deploy.outputs.NETLIFY_LIVE_URL || steps.deploy.outputs.NETLIFY_URL }}
5858
steps:
5959
- name: Check out files from GitHub
60-
uses: actions/[email protected]
60+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
6161
with:
6262
ref: master
6363

6464
- name: Setup Node
65-
uses: actions/[email protected]
65+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
6666
with:
6767
node-version-file: ".nvmrc"
6868
cache: yarn

.github/workflows/design_deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
url: ${{ steps.deploy.outputs.NETLIFY_LIVE_URL || steps.deploy.outputs.NETLIFY_URL }}
1717
steps:
1818
- name: Check out files from GitHub
19-
uses: actions/[email protected]
19+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2020

2121
- name: Setup Node
22-
uses: actions/[email protected]
22+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
2323
with:
2424
node-version-file: ".nvmrc"
2525
cache: yarn

.github/workflows/design_preview.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
if: github.repository == 'home-assistant/frontend' && contains(github.event.pull_request.labels.*.name, 'needs design preview')
2222
steps:
2323
- name: Check out files from GitHub
24-
uses: actions/[email protected]
24+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2525

2626
- name: Setup Node
27-
uses: actions/[email protected]
27+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
2828
with:
2929
node-version-file: ".nvmrc"
3030
cache: yarn

.github/workflows/labeler.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Apply labels
13-
uses: actions/[email protected]
13+
uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
1414
with:
1515
sync-labels: true

.github/workflows/lock.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
lock:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: dessant/[email protected]
12+
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
1313
with:
1414
github-token: ${{ github.token }}
1515
process-only: "issues, prs"

.github/workflows/nightly.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ jobs:
2020
contents: write
2121
steps:
2222
- name: Checkout the repository
23-
uses: actions/[email protected]
23+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2424

2525
- name: Set up Python ${{ env.PYTHON_VERSION }}
26-
uses: actions/setup-python@v6
26+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
2727
with:
2828
python-version: ${{ env.PYTHON_VERSION }}
2929

3030
- name: Setup Node
31-
uses: actions/[email protected]
31+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
3232
with:
3333
node-version-file: ".nvmrc"
3434
cache: yarn
@@ -57,14 +57,14 @@ jobs:
5757
run: tar -czvf translations.tar.gz translations
5858

5959
- name: Upload build artifacts
60-
uses: actions/[email protected]
60+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6161
with:
6262
name: wheels
6363
path: dist/home_assistant_frontend*.whl
6464
if-no-files-found: error
6565

6666
- name: Upload translations
67-
uses: actions/[email protected]
67+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6868
with:
6969
name: translations
7070
path: translations.tar.gz

.github/workflows/relative-ci.yaml

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: Send bundle stats and build information to RelativeCI
20-
uses: relative-ci/[email protected]
20+
uses: relative-ci/agent-action@1707825cbfcc7452b2913d273414705415ae64d4 # v3.0.1
2121
with:
2222
key: ${{ secrets[format('RELATIVE_CI_KEY_{0}_{1}', matrix.bundle, matrix.build)] }}
2323
token: ${{ github.token }}

0 commit comments

Comments
 (0)