@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.js CHANGED
@@ -15155,11 +15155,14 @@ function renderUnblockDependentsScript(ud) {
15155
15155
  ` echo "$line" | grep -oE '#[0-9]+' | tr -d '#' | tr '\\n' ' ' || echo ""`,
15156
15156
  "}",
15157
15157
  "",
15158
- "# Check if a single issue is closed. Returns 0 if closed, 1 if open.",
15158
+ "# Check whether a single dependency is resolved. Returns 0 (resolved)",
15159
+ "# for a CLOSED issue or a MERGED PR, 1 otherwise. A Depends on: target",
15160
+ "# may reference a PR (state MERGED/OPEN/CLOSED): an OPEN PR keeps",
15161
+ "# blocking, MERGED resolves it, UNKNOWN (API error) stays conservative.",
15159
15162
  "is_closed() {",
15160
15163
  " local state",
15161
15164
  ` state=$(gh issue view "$1" --json state --jq '.state' 2>/dev/null || echo "UNKNOWN")`,
15162
- ' [[ "$state" == "CLOSED" ]]',
15165
+ ' [[ "$state" == "CLOSED" || "$state" == "MERGED" ]]',
15163
15166
  "}",
15164
15167
  "",
15165
15168
  "# \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",
@@ -15392,11 +15395,14 @@ function buildCheckBlockedScript(tiers, scopeGate, _runRatio) {
15392
15395
  ` echo "$line" | grep -oE '#[0-9]+' | tr -d '#' | tr '\\n' ' ' || echo ""`,
15393
15396
  "}",
15394
15397
  "",
15395
- "# Check if a single issue is closed. Returns 0 if closed, 1 if open.",
15398
+ "# Check whether a single dependency is resolved. Returns 0 (resolved)",
15399
+ "# for a CLOSED issue or a MERGED PR, 1 otherwise. A Depends on: target",
15400
+ "# may reference a PR (state MERGED/OPEN/CLOSED): an OPEN PR keeps",
15401
+ "# blocking, MERGED resolves it, UNKNOWN (API error) stays conservative.",
15396
15402
  "is_closed() {",
15397
15403
  " local state",
15398
15404
  ` state=$(gh issue view "$1" --json state --jq '.state' 2>/dev/null || echo "UNKNOWN")`,
15399
- ' [[ "$state" == "CLOSED" ]]',
15405
+ ' [[ "$state" == "CLOSED" || "$state" == "MERGED" ]]',
15400
15406
  "}",
15401
15407
  "",
15402
15408
  "# Map a bare type-label value (without the `type:` prefix) to its",
@@ -39393,7 +39399,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen26.Compone
39393
39399
  {
39394
39400
  name: "Sticky PR comment with deploy endpoints",
39395
39401
  if: "github.event_name == 'pull_request' && hashFiles('deploy-urls.md') != ''",
39396
- uses: "marocchino/sticky-pull-request-comment@v2",
39402
+ uses: "marocchino/sticky-pull-request-comment@v3",
39397
39403
  with: {
39398
39404
  header: deployJobName,
39399
39405
  path: "deploy-urls.md"