• name: OpenCommit — improve commits with AI 🧙 uses: di-sukharev/opencommit@github-action-v1.0.2
eagle19900203-boop
FREEOP

a month ago

- name: OpenCommit — improve commits with AI 🧙

uses: di-sukharev/opencommit@github-action-v1.0.2

name: 'OpenCommit Action'

on:

push:

# this list of branches is often enough,

# but you may still ignore other public branches

branches-ignore: [main master dev development release]

jobs:

opencommit:

timeout-minutes: 10

name: OpenCommit

runs-on: ubuntu-latest

permissions: write-all

steps:

- name: Setup Node.js Environment

uses: actions/setup-node@v2

with:

node-version: '16'

- uses: actions/checkout@v3

with:

fetch-depth: 0

- uses: di-sukharev/opencommit@github-action-v1.0.4

with:

GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

env:

# set openAI api key in repo actions secrets,

# for openAI keys go to: https://platform.openai.com/account/api-keys

# for repo secret go to: <your_repo_url>/settings/secrets/actions

OCO_API_KEY: ${{ secrets.OCO_API_KEY }}

# customization

OCO_TOKENS_MAX_INPUT: 4096

OCO_TOKENS_MAX_OUTPUT: 500

OCO_OPENAI_BASE_PATH: ''

OCO_DESCRIPTION: false

OCO_EMOJI: false

OCO_MODEL: gpt-4o

OCO_LANGUAGE: en

tomstaveley:docs/remove-installer-scripts OCO_PROMPT_MODULE: conventional-commit

https://github.com/cloudflare/cloudflare-docs/issues/new/choosehttps://developers.cloudflare.com/workers/ci-cd/builds/git-integration/github-integration/https://developers.cloudflare.com/workers/ci-cd/builds/git-integration/github-integration/https://developers.cloudflare.com/workers/ci-cd/builds/git-integration/gitlab-integration/https://developers.cloudflare.com/workers/ci-cd/builds/git-integration/github-integration/#pull-request-commenthttps://developers.cloudflare.com/workers/ci-cd/builds/git-integration/github-integration/#check-runhttps://developers.cloudflare.com/workers/ci-cd/builds/git-integration/gitlab-integration/#commit-statushttps://developers.cloudflare.com/workers/ci-cd/external-cicd/https://developers.cloudflare.com/workers/wrangler/commands/general/#deployhttps://developers.cloudflare.com/workers/ci-cd/builds/#get-startedhttps://developers.cloudflare.com/\_astro/workers-git-provider.aIMoWcJE\_Z1X4wCk.webphttps://github.com/settings/installationshttps://gitlab.com/-/profile/applicationshttps://developers.cloudflare.com/workers/ci-cd/builds/git-integration/github-integration/#organizational-accesshttps://developers.cloudflare.com/workers/ci-cd/builds/git-integration/gitlab-integration/#organizational-accesshttps://dash.cloudflare.com/?to=/:account/workers-and-pageshttps://developers.cloudflare.com/workers/ci-cd/builds/git-integration/github-integrationhttps://developers.cloudflare.com/workers/ci-cd/builds/git-integration/gitlab-integrationhttps://schema.org

Under Review

0 Threads mention this feature

0 Replies

Welcome!

Sign in to your Railway account to join the conversation.

Loading...