feat: create action-conventional-commits

This commit is contained in:
Adrian Smijulj 2020-06-11 08:00:06 +02:00
parent 490666b4d2
commit 5b93994f80

View file

@ -1,10 +1,10 @@
const { GitHub, context } = require('@actions/github');
const { GitHub, context } = require("@actions/github");
(async () => {
const core = require("@actions/core");
const exec = require("@actions/exec");
console.log('context', context)
console.log("context", JSON.stringify(context.commits));
return;
// 1. Extract a list of users from received commits.
@ -36,5 +36,4 @@ const { GitHub, context } = require('@actions/github');
// 3. Commit changes done on the `contreebutors.json` and `README.md` file.
// 4. Add comment to the merged PR - notify the user that he was added to the contributors list.
})();