Skip to content

Commit 9e26b2a

Browse files
authored
SHA-pin all pinnable actions, use builder 2026.02.0 (#270)
Pin all actions except those using the master branch in home-assistant/actions (which are under our control so they're lower risk).
1 parent 305e896 commit 9e26b2a

5 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/hadolint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ jobs:
1111
name: lint
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v6
15-
- uses: brpaz/hadolint-action@v1.5.0
14+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
15+
- uses: brpaz/hadolint-action@c27bd9edc1e95eed30474db8f295ff5807ebca14 # v1.5.0

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
architectures: ${{ steps.info.outputs.architectures }}
1919
steps:
2020
- name: Checkout the repository
21-
uses: actions/checkout@v6
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222

2323
- name: Get information
2424
id: info
@@ -38,14 +38,14 @@ jobs:
3838
architecture: ${{ fromJson(needs.init.outputs.architectures) }}
3939
steps:
4040
- name: Checkout the repository
41-
uses: actions/checkout@v6
41+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4242

43-
- uses: olegtarasov/get-tag@v2.1.4
43+
- uses: olegtarasov/get-tag@9a8716825750e73195b02db42777b92ffe960605 # v2.1.4
4444
if: github.event_name == 'release'
4545
name: Set tag envronment variable
4646

4747
- name: Login to GitHub Container Registry
48-
uses: docker/login-action@v3.7.0
48+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
4949
with:
5050
registry: ghcr.io
5151
username: ${{ github.repository_owner }}

.github/workflows/release-drafter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: Release Drafter
1212
steps:
1313
- name: Checkout the repository
14-
uses: actions/checkout@v6
14+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1515
with:
1616
fetch-depth: 0
1717

@@ -36,7 +36,7 @@ jobs:
3636
echo "version=$datepre.$newpost" >> "$GITHUB_OUTPUT"
3737
3838
- name: Run Release Drafter
39-
uses: release-drafter/release-drafter@v6
39+
uses: release-drafter/release-drafter@6db134d15f3909ccc9eefd369f02bd1e9cffdf97 # v6.2.0
4040
with:
4141
tag: ${{ steps.version.outputs.version }}
4242
name: ${{ steps.version.outputs.version }}

.github/workflows/shellcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ jobs:
1111
name: Shellcheck
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v6
14+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1515
- name: Run ShellCheck
1616
uses: ludeeus/action-shellcheck@master

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
architectures: ${{ steps.info.outputs.architectures }}
1212
steps:
1313
- name: Checkout the repository
14-
uses: actions/checkout@v6
14+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1515

1616
- name: Get information
1717
id: info
@@ -27,10 +27,10 @@ jobs:
2727
architecture: ${{ fromJson(needs.init.outputs.architectures) }}
2828
steps:
2929
- name: Checkout the repository
30-
uses: actions/checkout@v6
30+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3131

3232
- name: Build the builder
33-
uses: home-assistant/builder@2025.11.0
33+
uses: home-assistant/builder@305e89677f0ff458bf6d10adfd5b360a32ab84e6 # 2026.02.0
3434
with:
3535
args: |
3636
--test \

0 commit comments

Comments
 (0)