mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-12 00:36:16 +00:00
fix: handle multiline message
This commit is contained in:
4
.github/workflows/beta.yml
vendored
4
.github/workflows/beta.yml
vendored
@@ -23,7 +23,9 @@ jobs:
|
||||
id: get_commits
|
||||
run: |
|
||||
echo 'COMMIT_LOG<<EOF' >> $GITHUB_ENV
|
||||
git log ${{ github.event.before }}..${{ github.sha }} --pretty=format:"%s" -10 >> $GITHUB_ENV
|
||||
git log ${{ github.event.before }}..${{ github.sha }} --pretty=format:"%s" -10 | while IFS= read -r line; do
|
||||
echo "$line" >> $GITHUB_ENV
|
||||
done
|
||||
echo 'EOF' >> $GITHUB_ENV
|
||||
|
||||
- name: Set variables
|
||||
|
||||
Reference in New Issue
Block a user