Λογότυπο Gitea Actions And Ci

Gitea Actions And Ci

Κοινότητα
selvarajmurugesan90
gitea-actions-and-ci

Configures Gitea Actions — Gitea's GitHub Actions-compatible CI/CD runner — including self-hosted act_runner setup/registration and the specific differences from GitHub Actions (supported contexts, missing features, runner labels). Use when the user asks to "set up CI on Gitea," "configure Gitea Actions," "register an act_runner," "port a GitHub Actions workflow to Gitea," or "troubleshoot a Gitea Actions job that isn't picked up by any runner."

Επισκόπηση

Εκδότηςselvarajmurugesan90
Αποθετήριοops-engineering-skills
Όνομα δεξιότηταςgitea-actions-and-ci
Αστέρια
44
Διακλαδώσεις
18
Συνοδευτικά αρχεία
Μόνο οδηγίες
Άδεια χρήσηςApache-2.0
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Αυτοτελής

    Όλα όσα χρειάζεται το μοντέλο περιλαμβάνονται στις οδηγίες — χωρίς επιπλέον αρχεία για συγχρονισμό.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό selvarajmurugesan90. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Gitea Actions And Ci στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/selvarajmurugesan90/ops-engineering-skills/tree/main/plugins/cicd-tooling/skills/gitea-actions-and-ci
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/selvarajmurugesan90/ops-engineering-skills.git /tmp/ops-engineering-skills
mkdir -p .claude/skills
cp -r /tmp/ops-engineering-skills/plugins/cicd-tooling/skills/gitea-actions-and-ci .claude/skills/gitea-actions-and-ci
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Gitea Actions And Ci σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Gitea Actions And Ci μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Gitea Actions And Ci δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Gitea Actions and CI

Purpose

Gitea Actions gives a self-hosted Gitea (or Forgejo) instance a CI system that intentionally mirrors GitHub Actions' workflow YAML syntax (.gitea/workflows/*.yml, on:/jobs:/steps:), executed by a self-hosted act_runner rather than GitHub's managed runners. This matters operationally because most GitHub Actions YAML is reusable with caveats, but the caveats — a smaller set of built-in contexts, no GitHub-hosted runner equivalent, different marketplace-action compatibility, and a distinct runner registration/labeling model — cause real friction when a team assumes full parity. This skill covers Gitea Actions setup and specifically where it diverges from github-actions-single-repo-workflows, which this skill assumes as the baseline syntax reference.

When to use

  • A team self-hosts Gitea (or Forgejo, a Gitea fork) and wants to enable built-in CI instead of bolting on an external Jenkins/Drone instance.
  • Porting an existing GitHub Actions workflow to run on Gitea and hitting unsupported syntax, contexts, or marketplace actions.
  • Setting up and registering a self-hosted act_runner against a Gitea instance, or debugging why a workflow job never picks up a runner.
  • Deciding which third-party GitHub Actions marketplace actions are safe/ compatible to reuse on Gitea Actions versus needing a local reimplementation.
  • Auditing self-hosted runner security posture, since every Gitea Actions runner is self-hosted by definition (no managed-runner option).

Prerequisites & environment

  • A Gitea instance (1.19+ for Actions support; check Site Administration → Actions to confirm Actions is enabled instance-wide, since it's opt-in and off by default in older versions) or a Forgejo instance (Forgejo Actions is the same underlying design, forked from Gitea's).
  • At least one act_runner binary or container registered against the instance — Gitea does not provide managed/hosted runners; every runner is infrastructure the team stands up and maintains itself.
  • Docker (or another supported executor) on the runner host if workflows use container-based steps/actions, since act_runner's default executor model relies on Docker to run job containers, similar to act(the local GitHub Actions runner it's derived from).
  • Repo or org admin access to enable Actions per-repository (Repository Settings → Actions) and to view/manage registered runners (Site Administration → Actions → Runners, or org/repo-level runner registration for scoped runners).
  • Familiarity with GitHub Actions workflow YAML — see github-actions-single-repo-workflows for the baseline syntax this skill assumes.

Step-by-step guidance

  1. Enable Actions at the instance level first, then per-repo — Gitea Actions is disabled by default at both levels historically; confirm Site Administration → Actions → Actions is enabled before debugging a repo that "has no CI" for any other reason.

  2. Register at least one act_runner. Download/run the act_runner binary or container, generate a registration token from the instance (Site Administration → Actions → Runners → Create new Runner, or gitea actions generate-runner-token on the server), and register:

    bash
    act_runner register \
      --instance https://gitea.example.com \
      --token ${GITEA_RUNNER_TOKEN} \
      --name ci-runner-1 \
      --labels ubuntu-latest:docker://node:20-bullseye,linux_amd64
    act_runner daemon

    The --labels mapping is important: unlike GitHub-hosted runners, act_runner's labels are locally defined and must explicitly map a label like ubuntu-latest to a container image — there is no implicit GitHub-managed ubuntu-latest image behind the scenes.

  3. Write the workflow under .gitea/workflows/, not .github/workflows/ — this is the single most common porting mistake:

    yaml
    # .gitea/workflows/ci.yml
    name: ci
    on:
      pull_request:
        branches: [main]
      push:
        branches: [main]
    jobs:
      test:
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v4
          - uses: actions/setup-node@v4
            with: { node-version: "20" }
          - run: npm ci
          - run: npm test
  4. Verify marketplace action compatibility before relying on one. Gitea Actions supports actions written for GitHub Actions in principle (it runs the same action.yml format), but actions calling GitHub- specific REST APIs (e.g. posting a check run via the GitHub API, using actions/github-script against github.com endpoints) won't work unmodified against a Gitea instance — prefer generic shell-based actions or Gitea-specific forks (many popular actions have a https://gitea.com/... mirror maintained for this reason) for anything that talks to the forge's API directly.

  5. Use docker:// prefixed images for portability where an action needs a specific toolchain, since act_runner's default execution model is container-based and this keeps behavior consistent across runner hosts:

    yaml
    jobs:
      build:
        runs-on: docker
        container:
          image: golang:1.22-bookworm
        steps:
          - uses: actions/checkout@v4
          - run: go build ./...
  6. Scope runners deliberately (instance-wide, org-level, or repo-level registration) matching your trust boundary — a repo-scoped runner only picks up jobs from that one repo, which limits blast radius if a workflow in one repo were to run malicious code, versus an instance-wide runner available to every repo on the instance.

  7. Treat every runner host as sensitive infrastructure, since (unlike GitHub-hosted runners, which are ephemeral and managed by GitHub) a self-hosted act_runner persists state and credentials on infrastructure your team fully controls and must patch/harden itself — apply the same self-hosted-runner security posture called out generically in ci-cd-pipeline-design.

  8. Check job/runner matching when a job never starts. A job with runs-on: ubuntu-latest stays queued forever if no registered runner advertises that exact label — confirm via Site Administration → Actions → Runners (or org/repo scoped runner list) which labels are actually registered.

Best practices

  • Keep .gitea/workflows/*.yml syntax close to plain GitHub Actions YAML (avoid Gitea-only extensions unless necessary) if there's any chance of needing to run the same repo on GitHub too — this maximizes portability in both directions.
  • Explicitly document each registered runner's labels-to-image mapping (e.g. in a README in the runner's provisioning repo/IaC) since, unlike GitHub's implicit ubuntu-latest/macos-latest meaning, Gitea's labels are whatever the team defined at registration time and can silently diverge between runner hosts if not centrally managed.
  • Prefer Gitea-maintained or generic shell-based mirrors of common actions (checkout, setup-node, setup-go, docker build/push) over GitHub-API-dependent marketplace actions, and test any ported action against Gitea before assuming parity.
  • Register runners per-scope (repo/org/instance) matching trust boundaries rather than defaulting every runner to instance-wide access.
  • Since there's no managed-runner tier, budget for the operational load of patching runner hosts (OS updates, Docker version, act_runner binary updates) yourself — this is real infrastructure ownership, not a toggle.
  • Pin action versions the same way as GitHub Actions (actions/checkout@v4, not @main) — see github-actions-single-repo-workflows for why this matters, and it applies identically here.

Common pitfalls

  • Symptom: A workflow file exists in the repo but no CI ever runs, no error shown anywhere obvious. Fix: Check the file is under .gitea/workflows/, not .github/workflows/ (a straight copy from a GitHub-based repo commonly leaves it in the wrong path), and confirm Actions is enabled both instance-wide (Site Administration → Actions) and for the specific repository (Repository Settings → Actions).

  • Symptom: A job stays queued/pending indefinitely and never starts. Fix: No registered act_runner advertises the label in runs-on: (e.g. ubuntu-latest) — check Site Administration → Actions → Runners for the actual registered labels, and either register a runner with that label or change runs-on: to match an existing one.

  • Symptom: A marketplace action that works fine on GitHub Actions fails on Gitea with an API error or silently no-ops (e.g. an action that's supposed to post a PR comment via the GitHub API does nothing). Fix: The action is calling GitHub's REST API directly rather than using a forge-agnostic mechanism; look for a Gitea-compatible fork/ mirror of the action, or replace it with a plain shell step using Gitea's own API (https://gitea.example.com/api/v1/...) with a suitably scoped token.

  • Symptom: Two different repos' workflows produce different build results even though the workflow YAML is identical. Fix: Runner labels map to specific container images defined at registration time on each act_runner host — if two runner hosts were registered with the same label (e.g. ubuntu-latest) pointing at different underlying images/tags, jobs land on inconsistent environments; centralize and document the label-to-image mapping so all runners advertising a given label are actually equivalent.

  • Symptom: A self-hosted act_runner host is compromised (unpatched OS, exposed Docker socket) and used to exfiltrate secrets from every repo it services. Fix: This is the real risk of self-hosted-only runners with no managed-runner alternative — treat runner hosts as sensitive infrastructure requiring the same patching cadence and network isolation as production systems, scope runners per-repo/org rather than instance-wide where workflows handle sensitive secrets, and never leave the Docker socket reachable from job containers unless the workflow genuinely and trustedly needs Docker-in-Docker.

Worked example

Scenario: A team self-hosts Gitea for an internal Go service repo and wants CI on every PR (lint, test, build) using a repo-scoped act_runner, after previously running the same workflow logic on GitHub Actions.

Runner registration (run once on the dedicated CI host):

bash
act_runner register \
  --instance https://gitea.internal.example.com \
  --token ${GITEA_RUNNER_TOKEN} \
  --name go-service-runner \
  --labels ubuntu-latest:docker://golang:1.22-bookworm,linux_amd64
act_runner daemon

.gitea/workflows/ci.yml (ported from an equivalent .github/workflows/ci.yml, changing only the path and dropping one GitHub-API-dependent step):

yaml
name: ci
on:
  pull_request:
    branches: [main]
  push:
    branches: [main]

jobs:
  build-and-test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: go vet ./...
      - run: go test ./... -coverprofile=coverage.out
      - run: go build -o bin/service ./cmd/service
      - name: Upload coverage artifact
        uses: actions/upload-artifact@v4
        with:
          name: coverage
          path: coverage.out

The team drops a previously-used github-script step that posted a PR comment via the GitHub REST API (not compatible against a Gitea instance) and replaces it, where still needed, with a plain curl call against Gitea's own /api/v1/repos/{owner}/{repo}/issues/{index}/comments endpoint using a scoped Gitea access token instead.

Cross-references

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Gitea Actions And Ci;

Configures Gitea Actions — Gitea's GitHub Actions-compatible CI/CD runner — including self-hosted act_runner setup/registration and the specific differences from GitHub Actions (supported contexts, missing features, runner labels). Use when the user asks to "set up CI on Gitea," "configure Gitea Actions," "register an act_runner," "port a GitHub Actions workflow to Gitea," or "troubleshoot a Gitea Actions job that isn't picked up by any runner."

Γιατί να χρησιμοποιήσετε τη δεξιότητα Gitea Actions And Ci στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Gitea Actions And Ci είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Gitea Actions And Ci στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/selvarajmurugesan90/ops-engineering-skills/tree/main/plugins/cicd-tooling/skills/gitea-actions-and-ci. Το TypingMind διαβάζει το αρχείο SKILL.md και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Gitea Actions And Ci;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Gitea Actions And Ci;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Gitea Actions And Ci με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Gitea Actions And Ci;

Ναι. Δημοσιεύεται στο GitHub από τον λογαριασμό selvarajmurugesan90 με την άδεια χρήσης Apache-2.0. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇