@codedrifters/configulator 0.0.385 → 0.0.387

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/lib/index.mjs CHANGED
@@ -14807,11 +14807,14 @@ function renderUnblockDependentsScript(ud) {
14807
14807
  ` echo "$line" | grep -oE '#[0-9]+' | tr -d '#' | tr '\\n' ' ' || echo ""`,
14808
14808
  "}",
14809
14809
  "",
14810
- "# Check if a single issue is closed. Returns 0 if closed, 1 if open.",
14810
+ "# Check whether a single dependency is resolved. Returns 0 (resolved)",
14811
+ "# for a CLOSED issue or a MERGED PR, 1 otherwise. A Depends on: target",
14812
+ "# may reference a PR (state MERGED/OPEN/CLOSED): an OPEN PR keeps",
14813
+ "# blocking, MERGED resolves it, UNKNOWN (API error) stays conservative.",
14811
14814
  "is_closed() {",
14812
14815
  " local state",
14813
14816
  ` state=$(gh issue view "$1" --json state --jq '.state' 2>/dev/null || echo "UNKNOWN")`,
14814
- ' [[ "$state" == "CLOSED" ]]',
14817
+ ' [[ "$state" == "CLOSED" || "$state" == "MERGED" ]]',
14815
14818
  "}",
14816
14819
  "",
14817
14820
  "# \u2500\u2500 main \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500",
@@ -15044,11 +15047,14 @@ function buildCheckBlockedScript(tiers, scopeGate, _runRatio) {
15044
15047
  ` echo "$line" | grep -oE '#[0-9]+' | tr -d '#' | tr '\\n' ' ' || echo ""`,
15045
15048
  "}",
15046
15049
  "",
15047
- "# Check if a single issue is closed. Returns 0 if closed, 1 if open.",
15050
+ "# Check whether a single dependency is resolved. Returns 0 (resolved)",
15051
+ "# for a CLOSED issue or a MERGED PR, 1 otherwise. A Depends on: target",
15052
+ "# may reference a PR (state MERGED/OPEN/CLOSED): an OPEN PR keeps",
15053
+ "# blocking, MERGED resolves it, UNKNOWN (API error) stays conservative.",
15048
15054
  "is_closed() {",
15049
15055
  " local state",
15050
15056
  ` state=$(gh issue view "$1" --json state --jq '.state' 2>/dev/null || echo "UNKNOWN")`,
15051
- ' [[ "$state" == "CLOSED" ]]',
15057
+ ' [[ "$state" == "CLOSED" || "$state" == "MERGED" ]]',
15052
15058
  "}",
15053
15059
  "",
15054
15060
  "# Map a bare type-label value (without the `type:` prefix) to its",
@@ -39058,7 +39064,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends Component22 {
39058
39064
  {
39059
39065
  name: "Sticky PR comment with deploy endpoints",
39060
39066
  if: "github.event_name == 'pull_request' && hashFiles('deploy-urls.md') != ''",
39061
- uses: "marocchino/sticky-pull-request-comment@v2",
39067
+ uses: "marocchino/sticky-pull-request-comment@v3",
39062
39068
  with: {
39063
39069
  header: deployJobName,
39064
39070
  path: "deploy-urls.md"