burin-labs

SKILL: harn-gitea-connector

For SVN polling, add a `poll` trigger and run `harn connector check . --provider svn --run-poll-tick`.

burin-labs 0 Updated 1mo ago

Resources

12
GitHub

Install

npx skillscat add burin-labs/harn-gitea-connector

Install via the SkillsCat registry.

SKILL.md

SKILL: harn-gitea-connector

Use harn-gitea-connector when wiring Harn triggers or outbound helpers for Gitea.

What you get

  • Provider id: gitea
  • Trigger kinds: webhook
  • Supported events: push, pull_request, issues, issue_comment, release, repository, star
  • Webhook verification: gitea_hmac
  • Outbound helpers: api.request, pull_requests.comment, pull_requests.update, issues.comment, commit_status.set, repository_file.get

Trigger recipe

[[triggers]]
id = "gitea-events"
kind = "webhook"
provider = "gitea"
match = { path = "/hooks/gitea", events = ["pull_request.opened"] }
handler = "handlers::on_gitea_event"
secrets = { signing_secret = "gitea/signing-secret" }

For SourceHut, use a configured public_key secret instead of signing_secret.
For SVN polling, add a poll trigger and run harn connector check . --provider svn --run-poll-tick.

Categories