Skip to content

Commit 9ff1bb1

Browse files
authored
chore(ci): correct pinned-action version comments and drop date suffixes (#691)
Dependabot rewrites the trailing `# vX.Y.Z` comment on a SHA-pinned action only when it can match the version string. The `# vX.Y.Z <date>` format used here defeats that: it either leaves the comment untouched (so it names the old version while the SHA points at the new one) or mangles it outright (`# v9.0.0 2026-06-19.0.0`). Every comment is now the bare resolved version, verified by resolving each pinned SHA against the upstream tag list: actions/checkout 9c091bb2 -> v7.0.0 (was commented v6) actions/labeler b8dd2d9b -> v6.2.0 (was commented v6.1.0) actions/stale 1e223db2 -> v10.4.0 (was commented v10.3.0) actions/github-script 3a2844b7 -> v9.0.0 (was v9 / mangled) actions/setup-python ece7cb06 -> v6.3.0 actions/setup-node 82076278 -> v7.0.0 Branch pins (hacs/action@main, home-assistant/actions@master) keep their branch name, minus the date. No SHA is changed — this is a comments-only diff, so no action behaviour changes. Follow-up to cb9ffc0, which fixed the same drift before it regressed via the labeler/stale bumps in #667 and #668.
1 parent b987e46 commit 9ff1bb1

11 files changed

Lines changed: 19 additions & 19 deletions

‎.github/workflows/auto-branch.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
if: github.event.label.name == 'planned'
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 2026-06-19.0.0
16+
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
1717
with:
1818
script: |
1919
const { owner, repo } = context.repo;

‎.github/workflows/hassfest.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ jobs:
1717
validate:
1818
runs-on: "ubuntu-latest"
1919
steps:
20-
- uses: "actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0" # v6 2026-06-17
21-
- uses: home-assistant/actions/hassfest@f4ca6f671bd429efb108c0f2fa0ae8af0215986c # master 2026-06-11
20+
- uses: "actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0" # v7.0.0
21+
- uses: home-assistant/actions/hassfest@f4ca6f671bd429efb108c0f2fa0ae8af0215986c # master

‎.github/workflows/issue-comment-labels.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: ${{ !github.event.issue.pull_request }}
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 2026-06-19.0.0
15+
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
1616
with:
1717
script: |
1818
const isOwner = context.payload.comment.author_association === 'OWNER';

‎.github/workflows/labeler.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: Apply path labels
20-
uses: actions/labeler@b8dd2d9be0f68b860e7dae5dae7d772984eacd6d # v6.1.0 2026-06-27
20+
uses: actions/labeler@b8dd2d9be0f68b860e7dae5dae7d772984eacd6d # v6.2.0
2121
with:
2222
configuration-path: .github/labeler.yml
2323
sync-labels: true

‎.github/workflows/labels.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Check out repository
23-
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v6 2026-06-17
23+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2424

2525
- name: Apply labels
26-
uses: crazy-max/ghaction-github-labeler@548a7c3603594ec17c819e1239f281a3b801ab4d # v6.0.0 2026-06-27
26+
uses: crazy-max/ghaction-github-labeler@548a7c3603594ec17c819e1239f281a3b801ab4d # v6.0.0
2727
with:
2828
yaml_file: .github/labels.yml
2929
# Never delete labels not listed in labels.yml — create/update only.

‎.github/workflows/lint.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121

2222
steps:
2323
- name: Check out repository
24-
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v6 2026-06-17
24+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2525

2626
- name: Set up Python
27-
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 2026-06-27
27+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
2828
with:
2929
python-version: "3.12"
3030

@@ -40,7 +40,7 @@ jobs:
4040

4141
steps:
4242
- name: Check out repository
43-
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v6 2026-06-17
43+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
4444

4545
- name: Set up Node
4646
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0

‎.github/workflows/release-announcement.yml‎

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

1616
steps:
1717
- name: Create Discussion Announcement
18-
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9 2026-06-17
18+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
1919
with:
2020
github-token: ${{ secrets.GITHUB_TOKEN }}
2121
script: |

‎.github/workflows/release-zip.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
attach-zip:
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v6 2026-06-17
22+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2323
with:
2424
ref: ${{ github.event.release.tag_name }}
2525

‎.github/workflows/stale.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
stale:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/stale@1e223db275d687790206a7acac4d1a11bd6fe629 # v10.3.0 2026-06-27
15+
- uses: actions/stale@1e223db275d687790206a7acac4d1a11bd6fe629 # v10.4.0
1616
with:
1717
# Only chase issues that are explicitly waiting on the reporter for
1818
# information — never sweep the whole tracker.

‎.github/workflows/tests.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,21 @@ jobs:
2121

2222
steps:
2323
- name: Check out repository
24-
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v6 2026-06-17
24+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2525

2626
- name: Hassfest validation
27-
uses: home-assistant/actions/hassfest@f4ca6f671bd429efb108c0f2fa0ae8af0215986c # master 2026-06-11
27+
uses: home-assistant/actions/hassfest@f4ca6f671bd429efb108c0f2fa0ae8af0215986c # master
2828

2929
test:
3030
name: Run tests
3131
runs-on: ubuntu-latest
3232

3333
steps:
3434
- name: Check out repository
35-
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v6 2026-06-17
35+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
3636

3737
- name: Set up Python
38-
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 2026-06-27
38+
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
3939
with:
4040
python-version: "3.12"
4141

0 commit comments

Comments
 (0)