github-actions-ci

Generates GitHub Actions workflows for build, image publishing, and release automation.

Updated Jun 25, 2026
One-click install
npx skills add https://github.com/oriddd/ai-toolkit --skill github-actions-ci-oriddd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-actions-ci
Source: https://github.com/oriddd/ai-toolkit/tree/main/copilot/public/skills/github-actions-ci
Command: npx skills add https://github.com/oriddd/ai-toolkit --skill github-actions-ci-oriddd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams standardized on GitHub Actions need consistent CI/CD pipelines for Java 21 / Maven services without hand-writing workflow YAML for every repository, and without drifting between Jenkins and GitHub Actions setups. ## Core Features & Use Cases - Build workflow: Produces a build.yml that runs mvn verify on every push and pull request, with Maven caching, concurrency cancellation, and JUnit test reporting. - Image workflow: Produces an image.yml triggered on release tags that builds, scans with Trivy, signs with cosign, attaches an SBOM, and pushes to GHCR. - Release workflow: Produces a release.yml using release-please for automated Maven versioning and changelog generation. - Use Case: A team bootstrapping a new Spring Boot microservice applies this skill to generate all three workflows, enable Dependabot and CodeQL, and enforce branch protection on main in one pass. ## Quick Start Apply the github-actions-ci skill to generate the build, image, and release workflows for this repository.

Frequently Asked Questions about github-actions-ci

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

FAQPage Schema
How do I set up GitHub Actions CI for a Maven Java project?

Create a build.yml workflow triggered on push and pull_request that checks out the code, sets up Temurin Java 21 with Maven caching via actions/setup-java, and runs mvn verify. Add surefire report uploads and a JUnit test reporter for visibility into failures.

GitHub Actions vs Jenkins for CI pipelines, which should I use?

Pick one per repository, never both, since two pipelines producing two images create drift opportunities. GitHub Actions suits teams standardized on GitHub-hosted runners and standard actions; Jenkins fits organizations with existing controller infrastructure.

How do I sign and scan Docker images in GitHub Actions?

Build and push the image with docker/build-push-action, scan it with aquasecurity/trivy-action failing on HIGH and CRITICAL severities, sign it with cosign using OIDC, and attach an SBOM via anchore/sbom-action.

Should I pin GitHub Actions to tags or SHAs?

Pin actions to a commit SHA in production-critical workflows because tags can be silently re-pointed to different code. Tags are acceptable for lower-risk workflows, but SHA pinning prevents supply-chain surprises.

When should integration tests not run on every pull request?

Integration tests requiring external infrastructure should not run on every PR. Gate them behind a label or a scheduled workflow to avoid flaky pipelines and wasted runner minutes.