.github#test_dep_update: only run x86_64 checks

Follow-up to one of the previous commits. Hopefully fixes #142.
This commit is contained in:
ckie
2022-06-10 15:11:15 +03:00
parent 69cfed89e5
commit e0189af753

View File

@ -8,7 +8,7 @@ git checkout depupdate
git reset --hard origin/master
json="$(gh pr list --search "author:app/github-actions" --json headRefName,number)"
echo "$json" | jq '.[] | .headRefName | @text' | xargs -L1 -- git pull origin
if nix flake check; then
if nix build .#checks.x86_64-linux.init-example-el; then
echo "$json" | jq ".[] | .number | @text" | xargs -L1 -- gh pr merge --squash --delete-branch
else
gh issue create \