Skip to content

Commit 51decb3

Browse files
authored
chore(ci): slower dependabot, pin action hashes, clean up release process (#94)
also downgrades conventional-changelog-conventionalcommits to v9 because v10 is borked; for now. CHANGELOG.md is manually updated here because of that breakage.
1 parent d01a4cd commit 51decb3

4 files changed

Lines changed: 84 additions & 22 deletions

File tree

.github/dependabot.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,26 @@ updates:
33
- package-ecosystem: 'github-actions'
44
directory: '/'
55
schedule:
6-
interval: 'daily'
6+
interval: 'monthly'
77
commit-message:
88
prefix: 'chore'
99
include: 'scope'
10+
cooldown:
11+
default-days: 5
12+
groups:
13+
github-actions-minor-patch:
14+
patterns: ['*']
15+
update-types: ['minor', 'patch']
1016
- package-ecosystem: 'npm'
1117
directory: '/'
1218
schedule:
13-
interval: 'daily'
19+
interval: 'monthly'
1420
commit-message:
1521
prefix: 'chore'
1622
include: 'scope'
23+
cooldown:
24+
default-days: 5
25+
groups:
26+
npm-minor-patch:
27+
patterns: ['*']
28+
update-types: ['minor', 'patch']

.github/workflows/test-and-release.yml

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,20 @@ jobs:
55
strategy:
66
fail-fast: false
77
matrix:
8-
node: [20.x, lts/*, current]
8+
node: [lts/*, current]
99
# not quite windows ready, halp! os: [macos-latest, ubuntu-latest, windows-latest]
1010
os: [macos-latest, ubuntu-latest]
1111
runs-on: ${{ matrix.os }}
1212
steps:
1313
- name: Checkout Repository
14-
uses: actions/checkout@v7
14+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1515
with:
1616
fetch-depth: 0
1717
- name: Use Node.js ${{ matrix.node }}
18-
uses: actions/setup-node@v7.0.0
18+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
1919
with:
2020
node-version: ${{ matrix.node }}
21+
check-latest: true
2122
- name: Set up ghauth config (Ubuntu)
2223
run: |
2324
mkdir -p ~/.config/changelog-maker/
@@ -53,31 +54,20 @@ jobs:
5354
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
5455
steps:
5556
- name: Checkout
56-
uses: actions/checkout@v7
57+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5758
with:
5859
fetch-depth: 0
5960
- name: Setup Node.js
60-
uses: actions/setup-node@v7.0.0
61+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
6162
with:
6263
node-version: lts/*
64+
check-latest: true
6365
registry-url: 'https://registry.npmjs.org'
6466
- name: Install dependencies
6567
run: |
6668
npm install --no-progress --no-package-lock --no-save
6769
- name: Build
68-
run: |
69-
npm run build
70-
- name: Install plugins
71-
run: |
72-
npm install \
73-
@semantic-release/commit-analyzer \
74-
conventional-changelog-conventionalcommits \
75-
@semantic-release/release-notes-generator \
76-
@semantic-release/npm \
77-
@semantic-release/github \
78-
@semantic-release/git \
79-
@semantic-release/changelog \
80-
--no-progress --no-package-lock --no-save
70+
run: npm run build
8171
- name: Release
8272
env:
8373
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,45 @@
11
## [1.8.22](https://github.com/nodejs/nodejs-dist-indexer/compare/v1.8.21...v1.8.22) (2026-07-30)
22

3+
### Trivial Changes
4+
5+
* **deps:** bump bl from 7.0.10 to 7.0.11 ([#93](https://github.com/nodejs/nodejs-dist-indexer/issues/93)) ([b3bc0c6](https://github.com/nodejs/nodejs-dist-indexer/commit/b3bc0c64b75d2e5f8cd06ebe738e029c949c2f67))
6+
37
## [1.8.21](https://github.com/nodejs/nodejs-dist-indexer/compare/v1.8.20...v1.8.21) (2026-07-29)
48

9+
### Trivial Changes
10+
11+
* **deps:** bump bl from 7.0.8 to 7.0.10 ([#92](https://github.com/nodejs/nodejs-dist-indexer/issues/92)) ([ea0ba18](https://github.com/nodejs/nodejs-dist-indexer/commit/ea0ba184519bf77cedba52e64ac9d3899ba43571))
12+
513
## [1.8.20](https://github.com/nodejs/nodejs-dist-indexer/compare/v1.8.19...v1.8.20) (2026-07-27)
614

15+
### Trivial Changes
16+
17+
* **deps:** bump bl from 7.0.7 to 7.0.8 ([#91](https://github.com/nodejs/nodejs-dist-indexer/issues/91)) ([84b1d58](https://github.com/nodejs/nodejs-dist-indexer/commit/84b1d5812bf51421658dbac9054eb39390ca7cdf))
18+
719
## [1.8.19](https://github.com/nodejs/nodejs-dist-indexer/compare/v1.8.18...v1.8.19) (2026-07-21)
820

21+
### Trivial Changes
22+
23+
* **deps:** bump bl from 7.0.6 to 7.0.7 ([#90](https://github.com/nodejs/nodejs-dist-indexer/issues/90)) ([4d481c8](https://github.com/nodejs/nodejs-dist-indexer/commit/4d481c8e2d4116bb84121a2bc65f63215bea18a5))
24+
925
## [1.8.18](https://github.com/nodejs/nodejs-dist-indexer/compare/v1.8.17...v1.8.18) (2026-07-16)
1026

27+
### Trivial Changes
28+
29+
* **deps:** bump actions/setup-node from 6.4.0 to 7.0.0 ([#89](https://github.com/nodejs/nodejs-dist-indexer/issues/89)) ([0d56069](https://github.com/nodejs/nodejs-dist-indexer/commit/0d560696b44b29e11818603d7baea0138e58cb00))
30+
1131
## [1.8.17](https://github.com/nodejs/nodejs-dist-indexer/compare/v1.8.16...v1.8.17) (2026-07-03)
1232

33+
### Trivial Changes
34+
35+
* **deps:** bump bl from 7.0.5 to 7.0.6 ([#88](https://github.com/nodejs/nodejs-dist-indexer/issues/88)) ([005e603](https://github.com/nodejs/nodejs-dist-indexer/commit/005e603c73dd4c7cb8eef960a87e720d18e37048))
36+
1337
## [1.8.16](https://github.com/nodejs/nodejs-dist-indexer/compare/v1.8.15...v1.8.16) (2026-06-30)
1438

39+
### Trivial Changes
40+
41+
* **deps:** bump bl from 7.0.4 to 7.0.5 ([#87](https://github.com/nodejs/nodejs-dist-indexer/issues/87)) ([8bfce21](https://github.com/nodejs/nodejs-dist-indexer/commit/8bfce216a22d255bbf78b4ceb1282fe1cae98a11))
42+
1543
## [1.8.15](https://github.com/nodejs/nodejs-dist-indexer/compare/v1.8.14...v1.8.15) (2026-06-23)
1644

1745
### Trivial Changes

package.json

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@
3030
},
3131
"preferGlobal": true,
3232
"devDependencies": {
33+
"@semantic-release/changelog": "^7.0.0",
34+
"@semantic-release/commit-analyzer": "^13.0.1",
35+
"@semantic-release/git": "^11.0.0",
36+
"@semantic-release/github": "^12.0.6",
37+
"@semantic-release/npm": "^13.1.5",
38+
"@semantic-release/release-notes-generator": "^14.1.0",
39+
"conventional-changelog-conventionalcommits": "^9.3.1",
40+
"semantic-release": "^25.0.3",
3341
"standard": "^17.1.0"
3442
},
3543
"release": {
@@ -91,6 +99,30 @@
9199
"type": "fix",
92100
"section": "Bug Fixes"
93101
},
102+
{
103+
"type": "perf",
104+
"section": "Performance Improvements"
105+
},
106+
{
107+
"type": "revert",
108+
"section": "Reverts"
109+
},
110+
{
111+
"type": "refactor",
112+
"section": "Code Refactoring"
113+
},
114+
{
115+
"type": "test",
116+
"section": "Tests"
117+
},
118+
{
119+
"type": "build",
120+
"section": "Trivial Changes"
121+
},
122+
{
123+
"type": "ci",
124+
"section": "Trivial Changes"
125+
},
94126
{
95127
"type": "chore",
96128
"section": "Trivial Changes"
@@ -100,8 +132,8 @@
100132
"section": "Trivial Changes"
101133
},
102134
{
103-
"type": "test",
104-
"section": "Tests"
135+
"type": "style",
136+
"section": "Trivial Changes"
105137
}
106138
]
107139
}

0 commit comments

Comments
 (0)