jenkinsfile-to-gha

Convert Jenkins pipelines into runnable GitHub Actions YAML workflows.

Updated Dec 14, 2025
One-click install
npx skills add https://github.com/kennyg/tome-grimoire --skill jenkinsfile-to-gha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jenkinsfile-to-gha
Source: https://github.com/kennyg/tome-grimoire/tree/main/skills/jenkinsfile-to-gha
Command: npx skills add https://github.com/kennyg/tome-grimoire --skill jenkinsfile-to-gha

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convert Jenkins pipelines (Jenkinsfiles) to GitHub Actions workflows. Use when migrating CI/CD from Jenkins to GitHub Actions, or when user provides a Jenkinsfile and wants a GHA workflow.

Core Features & Use Cases

  • Automatically translate Declarative and Scripted Jenkins pipelines into GitHub Actions workflows.
  • Preserve stages, steps, environment variables, and basic post-build actions with reasonable defaults.
  • Use Case: Migrate an existing Jenkins pipeline to GitHub Actions with minimal rewrite.

Quick Start

Provide a Jenkinsfile and I will generate an equivalent GitHub Actions workflow.

Frequently Asked Questions about jenkinsfile-to-gha

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

FAQPage Schema
How do I convert a Jenkinsfile to GitHub Actions workflow?

To convert a Jenkinsfile to a GitHub Actions workflow, provide the Jenkins pipeline file and the tool generates an equivalent runnable GitHub Actions YAML with core stage and step mappings.

Can I migrate both Declarative and Scripted Jenkins pipelines to GitHub Actions?

Yes, you can migrate both Declarative and Scripted Jenkins pipelines to GitHub Actions. The tool automatically translates either format into an equivalent GitHub Actions workflow.

Does the GitHub Actions migration preserve Jenkins environment variables?

Yes, the GitHub Actions migration handles basic environment variables from your Jenkins pipeline and preserves core stages and steps with reasonable defaults during the conversion.

What is the best way to migrate CI from Jenkins to GitHub Actions with minimal rewrite?

The best way to migrate CI from Jenkins to GitHub Actions with minimal rewrite is to use an automated conversion tool that maps Jenkins pipelines directly into GitHub Actions YAML workflows.

Are there limitations when converting complex Jenkins post-build actions to GitHub Actions?

Yes, there are limitations when converting complex Jenkins post-build actions. The tool handles basic post-build actions but may require manual adjustments for advanced or highly customized Jenkins logic.