We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2d431c commit 68ebc0fCopy full SHA for 68ebc0f
.github/workflows/ci.yml
@@ -574,6 +574,13 @@ jobs:
574
- name: Debug dist directory
575
run: ls -R dist
576
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
+
584
- name: Commit dist
585
if: >-
586
startsWith(github.repository, 'LizardByte/') &&
@@ -587,4 +594,4 @@ jobs:
587
594
directory: dist
588
595
branch: dist
589
596
force: false
590
- message: "Commit ${{ github.sha }}"
597
+ message: "${{ steps.commit_message.outputs.first_line }}"
0 commit comments