@moku-labs/ci 1.5.1 → 1.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -119,7 +119,7 @@ flowchart LR
119
119
  | [`examples/package/publish.local-publish.yml`](examples/package/publish.local-publish.yml) | Fallback: publish from the project's own job. Use it only if the central publish fails npm auth. |
120
120
  | [`rulesets/main.json`](rulesets/main.json) | Branch ruleset for `main`: PR only, no force-push, the four `ci / …` checks required. |
121
121
  | [`examples/dependabot.yml`](examples/dependabot.yml) | Dependabot config: one grouped PR a day for `@moku-labs/*` only. `setup` writes it to `.github/dependabot.yml`. |
122
- | [`examples/org/fleet.yml`](examples/org/fleet.yml) | For the organization's `.github` repository. Every hour it runs `moku-release fleet --markdown` and puts the table between `<!-- fleet:start -->` and `<!-- fleet:end -->` of `profile/README.md`. |
122
+ | [`examples/org/fleet.yml`](examples/org/fleet.yml) | For the organization's `.github` repository. Every 15 minutes it runs `moku-release fleet --markdown` and puts the table between `<!-- fleet:start -->` and `<!-- fleet:end -->` of `profile/README.md`. |
123
123
  | [`examples/package/dependabot-automerge.yml`](examples/package/dependabot-automerge.yml) | Turns on auto-merge for a Dependabot PR; the ruleset checks stay the gate. After the merge it dispatches `publish.yml` with `patch`, because a merge made by `GITHUB_TOKEN` starts no push run. `setup` writes it and allows auto-merge on the repo. |
124
124
 
125
125
  > [!TIP]
package/dist/release.mjs CHANGED
@@ -2050,6 +2050,8 @@ async function runDoctor(options) {
2050
2050
  const RELEASE_PREFIX = "release / ";
2051
2051
  /** The scope every family package is published under. */
2052
2052
  const FAMILY_SCOPE = "@moku-labs/";
2053
+ /** The organization's profile repository. It holds the table itself and is not a row of it. */
2054
+ const PROFILE_REPO = ".github";
2053
2055
  /** Matches a release tag, prereleases included: `v1.2.3`, `v1.2.3-rc.0`. Not the moving `v1`. */
2054
2056
  const RELEASE_TAG = /^v\d+\.\d+\.\d+/;
2055
2057
  /** Matches a dependency pinned to one exact version. A range is not a pin and is not judged. */
@@ -2249,7 +2251,7 @@ function parseFleet(stdout) {
2249
2251
  return;
2250
2252
  }
2251
2253
  if (!Array.isArray(nodes)) return void 0;
2252
- const rows = nodes.map((raw) => toRepo(raw));
2254
+ const rows = nodes.filter((raw) => raw.name !== PROFILE_REPO).map((raw) => toRepo(raw));
2253
2255
  const newest = new Map(rows.flatMap((row) => row.packageName !== void 0 && row.tag !== void 0 ? [[row.packageName, row.tag.slice(1)]] : []));
2254
2256
  return rows.map(({ pinned = {}, ...row }) => ({
2255
2257
  ...row,
@@ -9,6 +9,12 @@ updates:
9
9
  interval: "daily"
10
10
  allow:
11
11
  - dependency-name: "@moku-labs/*"
12
+ # Dependabot holds every new version back for 3 days by default. The family's own
13
+ # packages are trusted the moment they are released, so they skip that wait.
14
+ cooldown:
15
+ default-days: 3
16
+ exclude:
17
+ - "@moku-labs/*"
12
18
  groups:
13
19
  moku:
14
20
  patterns:
@@ -1,13 +1,13 @@
1
1
  name: Fleet status
2
2
 
3
- # For the organization's `.github` repository. Every hour it reads the state of every public
3
+ # For the organization's `.github` repository. Every 15 minutes it reads the state of every public
4
4
  # repository with `moku-release fleet` and puts the table into profile/README.md, the page
5
5
  # GitHub shows on the organization. It commits only when the table changed.
6
6
  #
7
7
  # No token is added: GITHUB_TOKEN reads the public repositories and writes this one.
8
8
  on:
9
9
  schedule:
10
- - cron: "17 * * * *"
10
+ - cron: "*/15 * * * *"
11
11
  workflow_dispatch:
12
12
 
13
13
  concurrency:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moku-labs/ci",
3
- "version": "1.5.1",
3
+ "version": "1.5.3",
4
4
  "description": "Central CI and release for the moku family: reusable workflows, caller examples and the moku-release CLI.",
5
5
  "type": "module",
6
6
  "sideEffects": [