mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 11:50:06 +00:00
ci/check-cherry-picks: remove unused condition
The command substitution style we recently switched to strips trailing newlines, so we don't need to check for empty lines anymore. (cherry picked from commit4c345b2fb4) (cherry picked from commit6388b8f4b5)
This commit is contained in:
committed by
github-actions[bot]
parent
1c76651b22
commit
af33fe08ff
@@ -20,9 +20,6 @@ remote="$(git remote -v | grep -i 'NixOS/nixpkgs' | head -n1 | cut -f1 || true)"
|
||||
commits="$(git rev-list --reverse "$1..$2")"
|
||||
|
||||
while read -r new_commit_sha ; do
|
||||
if [ -z "$new_commit_sha" ] ; then
|
||||
continue # skip empty lines
|
||||
fi
|
||||
if [ "$GITHUB_ACTIONS" = 'true' ] ; then
|
||||
echo "::group::Commit $new_commit_sha"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user