github-actions-templates

Create GitHub Actions workflows for testing, building, and deploying applications.

Updated Aug 2, 2026
One-click install
npx skills add https://github.com/jeje-it/template-projet --skill github-actions-templates-jeje-it
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: github-actions-templates
Source: https://github.com/jeje-it/template-projet/tree/main/.agents/skills/github-actions-templates
Command: npx skills add https://github.com/jeje-it/template-projet --skill github-actions-templates-jeje-it

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve? Setting up CI/CD pipelines from scratch is error-prone and time-consuming, requiring knowledge of YAML syntax, action versions, caching strategies, and security practices. This Skill provides ready-to-adapt GitHub Actions workflow patterns so you can automate testing, Docker builds, and deployments without starting from a blank file. ## Core Features & Use Cases - Workflow Patterns: Pre-built templates for test automation, Docker image building and pushing to registries, Kubernetes deployment, and multi-OS matrix builds. - Reusable Workflows: Patterns for creating callable workflows with inputs and secrets to share logic across repositories. - Security & Approvals: Templates for vulnerability scanning with Trivy and Snyk, plus production deployments gated by environment approvals and Slack notifications. - Use Case: You need to add CI to a Node.js project. Use the test workflow pattern with a Node version matrix, dependency caching, and coverage upload, then extend it with the Docker build pattern to publish images to GHCR on tagged releases. ## Quick Start Ask the AI to create a GitHub Actions workflow that runs tests on Node 18 and 20, builds a Docker image, and pushes it to GHCR on every tag.

Frequently Asked Questions about github-actions-templates

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a GitHub Actions workflow for testing?▼

Define a workflow triggered on push and pull_request, use actions/checkout and actions/setup-node with a version matrix, then run npm ci, lint, and test steps. Enable npm caching in setup-node to speed up repeated runs.

How to build and push Docker images in GitHub Actions?▼

Use docker/login-action to authenticate to a registry like GHCR, docker/metadata-action to generate tags from branches and semver, and docker/build-push-action to build and push. Enable GitHub Actions cache with cache-from and cache-to type gha.

Can GitHub Actions deploy to a Kubernetes cluster?▼

Yes, configure cloud credentials with an action like aws-actions/configure-aws-credentials, update kubeconfig for your cluster, then run kubectl apply and kubectl rollout status to deploy and verify the rollout.

What are reusable workflows in GitHub Actions?▼

Reusable workflows are defined with the workflow_call trigger and accept typed inputs and secrets. Other workflows invoke them with the uses keyword at the job level, letting you share test or build logic across repositories.

How do I add security scanning to a CI pipeline?▼

Add a job using aquasecurity/trivy-action to scan the filesystem and output SARIF results, then upload them with github/codeql-action/upload-sarif. You can also run Snyk scans using a SNYK_TOKEN secret.

Why should I pin GitHub Actions to specific versions?▼

Pinning actions to major versions like @v4 instead of @latest prevents unexpected breaking changes and reduces supply-chain risk. It ensures workflow behavior stays consistent across runs.