Skip to content

Commit 68ebc0f

Browse files
fix(dist): more meaningful commit messages (#465)
1 parent b2d431c commit 68ebc0f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,13 @@ jobs:
574574
- name: Debug dist directory
575575
run: ls -R dist
576576

577+
- name: Extract first line of commit message
578+
id: commit_message
579+
run: |
580+
FIRST_LINE=$(echo "${{ github.event.head_commit.message }}" | head -n 1)
581+
echo "first_line=$FIRST_LINE"
582+
echo "first_line=$FIRST_LINE" >> $GITHUB_OUTPUT
583+
577584
- name: Commit dist
578585
if: >-
579586
startsWith(github.repository, 'LizardByte/') &&
@@ -587,4 +594,4 @@ jobs:
587594
directory: dist
588595
branch: dist
589596
force: false
590-
message: "Commit ${{ github.sha }}"
597+
message: "${{ steps.commit_message.outputs.first_line }}"

0 commit comments

Comments
 (0)