feat: create action

This commit is contained in:
Adrian Smijulj 2020-06-11 09:07:08 +02:00
parent fe702a6f56
commit 3c924f4f80

View file

@ -8,6 +8,8 @@ async function run() {
` Checking if commit messages are following the Conventional Commits specification...`
);
console.log('context', JSON.stringify(context, null, 2));
const hasCommits = context.payload && Array.isArray(context.payload.commits);
if (!hasCommits) {
core.info(`No commits to check, skipping...`);