mirror of
https://github.com/webiny/action-conventional-commits.git
synced 2024-11-10 12:09:34 +01:00
feat: create action-conventional-commits
This commit is contained in:
parent
490666b4d2
commit
5b93994f80
1 changed files with 3 additions and 4 deletions
5
main.ts
5
main.ts
|
@ -1,10 +1,10 @@
|
||||||
const { GitHub, context } = require('@actions/github');
|
const { GitHub, context } = require("@actions/github");
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
const core = require("@actions/core");
|
const core = require("@actions/core");
|
||||||
const exec = require("@actions/exec");
|
const exec = require("@actions/exec");
|
||||||
|
|
||||||
console.log('context', context)
|
console.log("context", JSON.stringify(context.commits));
|
||||||
|
|
||||||
return;
|
return;
|
||||||
// 1. Extract a list of users from received commits.
|
// 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.
|
// 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.
|
// 4. Add comment to the merged PR - notify the user that he was added to the contributors list.
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Reference in a new issue