🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Gitea Actions

by @qizhou-guo

Trigger workflows, list runs, and get status for Gitea/Forgejo Actions workflows using owner, repo, and workflow details via API.

Versionv0.1.0
Downloads674
Installs1
TERMINAL
clawhub install gitea-actions

πŸ“– About This Skill

Gitea Actions

Trigger and query Gitea/Forgejo Actions workflows.

Environment Variables

  • GITEA_URL - Gitea API URL (e.g., http://8.137.50.76:10000)
  • GITEA_TOKEN - Gitea API token
  • Usage

    node -e "
    const gitea = require('~/.openclaw/skills/gitea-actions/index.js');

    // Trigger workflow gitea({ action: 'dispatch', owner: 'gg', repo: 'web3-mini-game', workflow: 'deploy-vercel.yml', ref: 'master' })

    // List runs gitea({ action: 'runs', owner: 'gg', repo: 'web3-mini-game' })

    // Get run status gitea({ action: 'run', owner: 'gg', repo: 'web3-mini-game', runId: 123 }) "

    Actions

    | Action | Description | |--------|-------------| | dispatch | Trigger a workflow dispatch | | runs | List workflow runs | | run | Get single run status |

    Inputs

    | Field | Type | Required | Description | |-------|------|----------|-------------| | action | string | βœ… | dispatch, runs, or run | | owner | string | βœ… | Repository owner | | repo | string | βœ… | Repository name | | workflow | string | ❌ | Workflow file (for dispatch/runs) | | ref | string | ❌ | Git ref (default: master) | | runId | number | ❌ | Run ID (for run action) |

    πŸ’‘ Examples

    node -e "
    const gitea = require('~/.openclaw/skills/gitea-actions/index.js');

    // Trigger workflow gitea({ action: 'dispatch', owner: 'gg', repo: 'web3-mini-game', workflow: 'deploy-vercel.yml', ref: 'master' })

    // List runs gitea({ action: 'runs', owner: 'gg', repo: 'web3-mini-game' })

    // Get run status gitea({ action: 'run', owner: 'gg', repo: 'web3-mini-game', runId: 123 }) "