Skip to content

Commit b37ded9

Browse files
committed
fixup! tools: add workflow to compare Nix changes
1 parent f2d5065 commit b37ded9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/nix-changes-comment.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ jobs:
2929
run: |
3030
mv requisites-*/* .
3131
ls
32+
if grep -nvHE '^/nix/store/[0-9a-df-np-sv-z]{32}-[A-Za-z0-9?=._+-]+$' requisites-*.list; then
33+
echo 'Unexpected line format in requisites list; refusing to process.' >&2
34+
exit 1
35+
fi
3236
echo "NUMBER=$(grep -E '^[0-9]+$' pr_number.txt || true)" >> "$GITHUB_OUTPUT"
3337
3438
- name: Aggregate results

0 commit comments

Comments
 (0)