Skip to content

Commit 3c050e3

Browse files
authored
tools: pass author to commit message validator
Signed-off-by: Filip Skokan <panva.ip@gmail.com> PR-URL: #66012 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Xuguang Mei <meixuguang@gmail.com>
1 parent 1f6fe2f commit 3c050e3

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/commit-lint.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ jobs:
4141
'--no-validate-metadata', '--tap', '-',
4242
], {
4343
cwd: process.env.RUNNER_TEMP,
44-
input: Buffer.from(JSON.stringify([{ id: commit.sha, message: commit.commit.message }])),
44+
input: Buffer.from(JSON.stringify([{
45+
id: commit.sha,
46+
message: commit.commit.message,
47+
author: commit.commit.author,
48+
}])),
4549
silent: true,
4650
ignoreReturnCode: true,
4751
});

0 commit comments

Comments
 (0)