diff --git a/.github/workflows/test_dep_update.sh b/.github/workflows/test_dep_update.sh index 8cf3471..2355f8e 100755 --- a/.github/workflows/test_dep_update.sh +++ b/.github/workflows/test_dep_update.sh @@ -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 \