@theholocron/holocron-plugin-github 5.0.0 → 5.1.0

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/dist/index.mjs +1 -0
  2. package/package.json +5 -5
package/dist/index.mjs CHANGED
@@ -2757,6 +2757,7 @@ function toRulesetDetail(data) {
2757
2757
  enforcement: data.enforcement,
2758
2758
  ruleTypes: rules.map((r) => r.type),
2759
2759
  requiredChecks: entries.map((c) => String(c.context)),
2760
+ ...data.conditions?.ref_name?.include ? { includes: data.conditions.ref_name.include } : {},
2760
2761
  ...Object.keys(sources).length > 0 ? { requiredCheckSources: sources } : {}
2761
2762
  };
2762
2763
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/holocron-plugin-github",
3
- "version": "5.0.0",
3
+ "version": "5.1.0",
4
4
  "description": "Holocron plugin for GitHub. Implements source, ci, secrets, environments, and issues capabilities against the GitHub REST API.",
5
5
  "keywords": [
6
6
  "ci",
@@ -44,11 +44,11 @@
44
44
  "tsx": "4.23.15",
45
45
  "typescript": "^6.0.3",
46
46
  "vitest": "^5.1.2",
47
- "@theholocron/cli": "5.0.0",
47
+ "@theholocron/cli": "5.1.0",
48
48
  "@theholocron/eslint-config": "^9.0.0",
49
49
  "@theholocron/fs-utils": "^2.0.0",
50
- "@theholocron/github-client": "^2.0.0",
51
- "@theholocron/http-client": "^2.0.0",
50
+ "@theholocron/github-client": "^2.1.0",
51
+ "@theholocron/http-client": "^2.1.0",
52
52
  "@theholocron/misc-utils": "^2.0.0",
53
53
  "@theholocron/tsconfig": "^9.0.0",
54
54
  "@theholocron/tsdown-config": "^9.0.0",
@@ -58,7 +58,7 @@
58
58
  "@theholocron/fs-utils": "^2.0.0",
59
59
  "@theholocron/github-client": "^2.0.0",
60
60
  "@theholocron/misc-utils": "^2.0.0",
61
- "@theholocron/cli": "5.0.0"
61
+ "@theholocron/cli": "5.1.0"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">=22"