Compare commits

...

4 Commits

Author SHA1 Message Date
Trez.One 0ff6f892cf Testing with extra env.
OpenCommit Action / OpenCommit (push) Failing after 1m26s
2025-12-28 17:59:31 -05:00
Trez.One 9720661eeb Testing with extra env.
OpenCommit Action / OpenCommit (push) Failing after 27s
2025-12-28 17:47:19 -05:00
Trez.One 2ae89c78b2 Fixing Ollama endpoint.
OpenCommit Action / OpenCommit (push) Failing after 1m21s
2025-12-28 17:45:02 -05:00
Trez.One a93bed3577 Adding OpenCommit workflow.
OpenCommit Action / OpenCommit (push) Failing after 2m42s
2025-12-28 17:31:49 -05:00
+36
View File
@@ -0,0 +1,36 @@
name: 'OpenCommit Action'
on:
push:
# this list of branches is often enough,
# but you may still ignore other public branches
branches-ignore:
- main
jobs:
opencommit:
timeout-minutes: 10
name: OpenCommit
runs-on: ubuntu-latest
steps:
- name: Setup Node.js Environment
uses: actions/setup-node@v4
with:
node-version: '20'
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: di-sukharev/opencommit@github-action-v1.0.2
name: OpenCommit
with:
GITHUB_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }}
env:
OCO_AI_PROVIDER: ollama
OCO_API_URL: ${{ secrets.OLLAMA_API_URL }}/api/chat
# OCO_API_KEY: thisisatest
OCO_OPENAI_API_KEY: thisisatest
OCO_DESCRIPTION: true
OCO_EMOJI: true
OCO_MODEL: deepseek-coder:1.3b
OCO_LANGUAGE: en
OCO_PROMPT_MODULE: conventional-commit