Skip to content

Commit

Permalink
rm bash
Browse files Browse the repository at this point in the history
  • Loading branch information
mmkal committed Aug 13, 2024
1 parent 7705842 commit 597322c
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,29 +73,6 @@ jobs:
echo "$diff"
echo status=dirty >> $GITHUB_OUTPUT
fi
update_commits=$(git --no-pager log --oneline --no-merges main..deps)
echo "Debug: update_commits contents:"
echo "$update_commits"
updated_deps=$(
echo $update_commits
| grep "update dependency"
| sed -E 's/.*update dependency ([^ ]+) to.*/\1/'
| uniq
)
count=$(echo "$updated_deps" | wc -l)
if [ $count -le 4 ]; then
formatted=$(echo "$updated_deps" | paste -sd ", ")
pr_title="chore: update dependencies $formatted"
else
formatted=$(echo "$updated_deps" | head -n 3 | paste -sd ", ")
remainder=$((count - 3))
pr_title="chore: update dependencies $formatted and $remainder more"
fi
echo "update_commits=$update_commits" >> $GITHUB_OUTPUT
echo "pr_title=$pr_title" >> $GITHUB_OUTPUT
- name: Reset deps branch
if: steps.deps_diff.outputs.status == 'clean'
run: |
Expand Down

0 comments on commit 597322c

Please sign in to comment.