GitHub action (#173) (#174)

* add option to run OpenCommit as a Github Action
This commit is contained in:
Sukharev
2023-05-21 16:16:26 +08:00
committed by GitHub
parent 54006826f8
commit 6afa493726
17 changed files with 50424 additions and 217 deletions
+26
View File
@@ -0,0 +1,26 @@
name: 'OpenCommit'
description: 'Replaces lame commit messages with meaningful AI-generated messages when you push to remote 🤯🔫'
author: 'https://github.com/di-sukharev'
repo: 'https://github.com/di-sukharev/opencommit/tree/github-action'
keywords:
[
'git',
'chatgpt',
'gpt',
'ai',
'openai',
'opencommit',
'aicommit',
'aicommits',
'gptcommit',
'commit'
]
inputs:
GITHUB_TOKEN:
description: 'GitHub token'
required: true
runs:
using: 'node16'
main: 'out/github-action.cjs'