@veda-hq/niyam 0.7.7 → 0.7.8

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.
Files changed (2) hide show
  1. package/README.md +9 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1728,7 +1728,7 @@ tag and the commit. Install the attached package on each machine with pnpm,
1728
1728
  once; nothing is built on install:
1729
1729
 
1730
1730
  ```bash
1731
- pnpm add -g https://github.com/veda-hq/niyam/releases/download/v0.7.7/veda-hq-niyam-0.7.7.tgz
1731
+ pnpm add -g https://github.com/veda-hq/niyam/releases/download/v0.7.8/veda-hq-niyam-0.7.8.tgz
1732
1732
  ```
1733
1733
 
1734
1734
  The package puts one command on `PATH`, `niyam`. Since P-57 a release
@@ -1841,6 +1841,14 @@ slice joined counts, wherever it is:
1841
1841
  If GitHub cannot find the Approvals issue, Guard counts nothing from it and
1842
1842
  goes on. Any other failure to read it fails closed.
1843
1843
 
1844
+ **Mergify's merge queue (#507).** Mergify tests a queued pull request in a draft of its own:
1845
+ - opened as `mergify[bot]` on a `mergify/merge-queue/` branch of the repository;
1846
+ - titled `merge queue: checking #A on main (sha)`, with `, stacked on #B` when it tests several.
1847
+
1848
+ Guard judges that draft's own diff once with each tested pull request's title, author and body. It refuses a file only when every tested pull request leads to that refusal. So a guard file passes when one tested pull request's approved slice names it, or when its onboard or Dependabot exemption holds for the draft's diff. Guard never passes a draft solely because it is Mergify's: a file still needs a tested pull request's owner-approved slice, unless an existing onboard or Dependabot exemption applies.
1849
+
1850
+ Any other draft, or one whose title names no pull request, is judged as itself, and so is any draft where work rules are off. A tested pull request GitHub cannot give fails closed.
1851
+
1844
1852
  A name is a path, a folder ending in `/`, or a pattern where `*` matches
1845
1853
  within one folder and `**` across them. The guard files are a floor every
1846
1854
  repository has, everything under `.github/`, `.githooks/` and `.husky/`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veda-hq/niyam",
3
- "version": "0.7.7",
3
+ "version": "0.7.8",
4
4
  "description": "Work rules for repos that track work in GitHub Issues: setup, agent identity, push and PR checks.",
5
5
  "license": "MIT",
6
6
  "repository": {