@norskvideo/ctl-dev-kit 0.2.46 → 0.2.48
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/conventions/bot-prs.yml
CHANGED
|
@@ -126,7 +126,9 @@ jobs:
|
|
|
126
126
|
for r in "${red[@]}"; do echo "::warning::bot PR needs a human: $r"; done
|
|
127
127
|
else
|
|
128
128
|
state=success
|
|
129
|
-
detail
|
|
129
|
+
# Never empty: the dashboard step reads an empty detail as missing.
|
|
130
|
+
merged_detail="${merged[*]:+merged ${merged[*]}}"
|
|
131
|
+
detail="${merged_detail:-no bot PRs waiting}"
|
|
130
132
|
fi
|
|
131
133
|
echo "state=$state" >> "$GITHUB_OUTPUT"
|
|
132
134
|
echo "detail=${detail%; }" >> "$GITHUB_OUTPUT"
|
|
@@ -138,7 +140,9 @@ jobs:
|
|
|
138
140
|
TOKEN: ${{ secrets.CI_DISPATCH_TOKEN }}
|
|
139
141
|
READ_TOKEN: ${{ github.token }}
|
|
140
142
|
STATUS: ${{ steps.triage.outputs.state || 'failure' }}
|
|
141
|
-
|
|
143
|
+
# By the step's outcome, not by an empty detail: a quiet run with nothing
|
|
144
|
+
# merged once read "triage failed" beside a green status every hour.
|
|
145
|
+
DETAIL: ${{ steps.triage.outcome == 'success' && steps.triage.outputs.detail || (steps.triage.outcome == 'success' && 'no bot PRs waiting' || 'the bot-PR triage itself failed; see the run') }}
|
|
142
146
|
SHA: ${{ github.sha }}
|
|
143
147
|
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
|
144
148
|
REPO: ${{ github.repository }}
|
|
@@ -158,11 +158,16 @@ jobs:
|
|
|
158
158
|
set -euo pipefail
|
|
159
159
|
# Per install root, as sync-ctl-packages.yml does: a manifest outside
|
|
160
160
|
# the root workspace owns its own lockfile. Then move the locked
|
|
161
|
-
# dev-kit to the newest in range
|
|
162
|
-
#
|
|
163
|
-
#
|
|
161
|
+
# dev-kit to the newest in range: bun install keeps a locked version
|
|
162
|
+
# that still satisfies its range, so a nested workspace could
|
|
163
|
+
# otherwise stay on an old dev-kit under a new pin. Only where the
|
|
164
|
+
# lockfile already holds the dev-kit: bun update ADDS a package it
|
|
165
|
+
# does not find, and put the dev-kit into funke proxy/ui that way.
|
|
164
166
|
for lock in $(git ls-files "*bun.lock"); do
|
|
165
|
-
(cd "$(dirname "$lock")" && bun install
|
|
167
|
+
(cd "$(dirname "$lock")" && bun install)
|
|
168
|
+
if grep -q "\"@norskvideo/ctl-dev-kit@" "$lock"; then
|
|
169
|
+
(cd "$(dirname "$lock")" && bun update @norskvideo/ctl-dev-kit)
|
|
170
|
+
fi
|
|
166
171
|
done
|
|
167
172
|
'
|
|
168
173
|
|