Zum Inhalt springen
Skillpedia
Deployment & Cloud (DevOps)48k · #4745

github-actions-templates

Was er macht

Dieses Tool hilft dir, produktionsreife Vorlagen (Templates) zu erstellen, um Aufgaben wie Testen, Bauen und Deployen deiner Softwareprojekte auf GitHub zu automatisieren. Es zeigt dir Beispiele, wie du diese Automatisierungen einrichtest.

Wann du ihn nutzt

  • ✓Wenn du die Tests deines Codes automatisieren möchtest.
  • ✓Wenn du dein Projekt für das Bauen oder Veröffentlichen vorbereitest.
  • ✓Um einen freigegebenen Deployment-Workflow einzurichten.

Link zum Skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/github-actions-templates/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/github-actions-templates/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Erstelle eine Workflow-Vorlage zum Testen meines Node.js-Projekts.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Das Tool bietet Code-Beispiele (sogenannte Workflows), die du anpassen kannst. Diese Beispiele zeigen, wie GitHub bestimmte Befehle, zum Beispiel Tests, automatisch auf deinem Projekt ausführen kann.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

GitHub Actions Workflow Patterns

When to Use

Implement testing, matrix builds, artifact preparation or an explicitly authorized deployment workflow for an existing repository.

Inputs

Inspect the repository's actual scripts, lockfile, supported runtimes, required check names and release policy. Read resources/implementation-playbook.md and references/common-workflows.md before choosing job boundaries.

Test Workflow

This Node example assumes the target repository declares npm test and supports Node 22. Adapt the runtime and command to the actual project. The pinned action revisions are explicit review inputs; verify them before adopting or updating the template.

name: Test
on:
  pull_request:
  push:
    branches: [main]
permissions:
  contents: read
jobs:
  test:
    runs-on: ubuntu-latest
    timeout-minutes: 15
    steps:
      - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
        with:
          persist-credentials: false
      - uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444
        with:
          node-version: '22'
          cache: npm
      - run: npm ci
      - run: npm test

Matrix Builds

Add a matrix only for versions and operating systems the project supports. Keep dependencies reproducible, identify failing combinations, and avoid hiding failures with blanket continue-on-error. Test required-check behavior when jobs are conditionally skipped.

Build and Publication

Build an artifact from the tested commit and record its identity. Publication needs a separate trusted job with the minimum registry permission. Do not publish artifacts produced by arbitrary untrusted code in a privileged context; bind accepted artifacts to their exact source and producing workflow.

Deployment

Use the project's protected release path. Identify the immutable artifact, destination, workload identity, rollout and rollback checks before adding deployment commands. A named GitHub environment does not configure reviewers automatically. Verify its actual protections. Do not label a placeholder echo command as a successful deployment.

Verification

Exercise one passing change and one deliberate test failure on a topic branch. Confirm the failing check prevents downstream publication. Inspect tokens, runner isolation, caches and artifact boundaries. Keep production credentials absent from untrusted validation jobs.

Example

A project needs Linux and Windows tests. Select its supported runtime, add the two runner combinations and confirm that either failure blocks the required result. Prepare publication separately; do not add registry credentials to the matrix.

Limitations

This skill supplies patterns, not an installed deployment program. Repository policy, runner trust and environment settings must be inspected. Review every third-party action at its full commit SHA and treat logs and uploaded artifacts as possible data-exposure paths.

Sources

Häufige Fragen

Was ist ein GitHub-Actions-„Workflow“?

Das ist eine Konfigurationsdatei, die GitHub mitteilt, was zu tun ist, zum Beispiel Tests ausführen oder deinen Code veröffentlichen, wenn bestimmte Ereignisse passieren (etwa wenn du neue Änderungen pushst).

Kann ich das für jedes Projekt verwenden?

Die Vorlagen sind für Projekte auf GitHub gedacht. Du musst sie an deinen Projekttyp und die verwendeten Tools anpassen.

Veröffentlicht das meinen Code automatisch?

Das Tool stellt Vorlagen zum Veröffentlichen bereit, aber du musst diese Aktion sorgfältig einrichten und freigeben. So stellst du sicher, dass nur vertrauenswürdige Artefakte veröffentlicht werden.

Details

Originalbeschreibung des Autors

Production-ready GitHub Actions workflow patterns for testing, building, and deploying applications.

repo: sickn33/agentic-awesome-skills

Beliebtheit

GitHub-Sterne
48k
Platz im Ranking
#4745
Lizenz
MIT
Aktualisiert
15.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills