Files
Trez.One 86f35c1268
Testing / prettier (push) Failing after 2m19s
Testing / unit-test (20.x) (push) Failing after 4m12s
Testing / e2e-test (20.x) (push) Failing after 5m28s
...
2026-01-01 15:14:39 -05:00

45 lines
1.1 KiB
YAML

name: 'OpenCommit — improve commits with AI 🧙'
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'
branding:
icon: 'git-commit'
color: 'green'
keywords:
[
'git',
'chatgpt',
'gpt',
'ai',
'openai',
'opencommit',
'aicommit',
'aicommits',
'gptcommit',
'commit'
]
inputs:
GITHUB_TOKEN:
description: 'Token used for API calls (GitHub/Gitea/Forgejo). Typically set to ${{ secrets.GITHUB_TOKEN }}'
required: true
DRY_RUN:
description: 'If true, the action will log proposed changes but will not rebase or push commits'
required: false
default: 'false'
GIT_PLATFORM:
description: 'Platform the action is running on (e.g., "github", "gitea", "forgejo"). Determines API usage'
required: false
default: 'github'
GIT_PLATFORM_API_BASE:
description: 'Base API URL for non-GitHub platforms (e.g., Gitea/Forgejo) for diff endpoints'
required: false
default: ''
runs:
using: 'node20'
main: 'out/github-action.cjs'