ci: update watch list when we run an update
This commit is contained in:
parent
0b03dab7d1
commit
1775d7cc05
6
bin/ci
6
bin/ci
@ -32,6 +32,12 @@ if [ "${1}" = "update" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
deploy watch update
|
||||||
|
if ! git diff --exit-code >/dev/null; then
|
||||||
|
git add pull_requests
|
||||||
|
git commit -m 'watched: update watched pull requests'
|
||||||
|
fi
|
||||||
|
|
||||||
for inp in $(nix flake metadata --json | jq -r '.locks.nodes.root.inputs | keys[] as $k | $k'); do
|
for inp in $(nix flake metadata --json | jq -r '.locks.nodes.root.inputs | keys[] as $k | $k'); do
|
||||||
if ! git checkout -b "${ci_branch}_${inp}"; then
|
if ! git checkout -b "${ci_branch}_${inp}"; then
|
||||||
handle_co_fail "${ci_branch}_${inp}"
|
handle_co_fail "${ci_branch}_${inp}"
|
||||||
|
Loading…
Reference in New Issue
Block a user