mirror of
https://github.com/webiny/action-conventional-commits.git
synced 2024-11-27 04:03:49 +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
7
main.ts
7
main.ts
|
@ -1,14 +1,14 @@
|
|||
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.
|
||||
/* const token = process.env.GH_TOKEN;
|
||||
/* const token = process.env.GH_TOKEN;
|
||||
|
||||
const client = new GitHub(token, {});
|
||||
const result = await client.({
|
||||
|
@ -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.
|
||||
|
||||
})();
|
||||
|
|
Loading…
Reference in a new issue