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.
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 tokenUsage
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 })
"