Skip to content

Commit f3f9300

Browse files
committed
chore(cd): change commit message format
The commit message subject line generated by the previous format was too long, since we uses commit hash as a tag to the built image. Solve this issue by restructuring the commit message.
1 parent 66e342a commit f3f9300

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci+cd.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,5 +164,10 @@ jobs:
164164
run: |
165165
git config user.name "github-actions[bot]"
166166
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
167-
git commit -a -m "Update image to ${{ needs.build.outputs.img-ref }}" -m "[skip actions]" || echo "No changes to commit"
167+
git commit -a -F - <<'EOF' || echo "No changes to commit"
168+
chore(cd): [skip ci] update manifests
169+
170+
Used image:
171+
${{ needs.build.outputs.img-ref }}
172+
EOF
168173
git push

0 commit comments

Comments
 (0)