Migration Automation: Easing the Jenkins → GHA shift with help from AI
Slack built a conversion tool to move 242 Jenkins pipelines to GitHub Actions by layering corrections on top of GitHub's Actions Importer, which fully converted about 50% of pipelines, partially converted 45% and failed on 5%. Eight unsupported Jenkins steps caused over 90% of the partial conversions. A largely regex/string-replace Python pass swaps rate-limited marketplace actions for internal GitHub Enterprise mirrors, adds guidance comments (e.g. for secrets) and strips noise. LLM prompts handle the action-to-action rewrites that string methods can't, such as replacing rtCamp/action-slack-notify with Slack's internal action, and were 100% accurate across about two dozen spot-checked outputs. The tool is projected to cut migration effort from about 1,700 to about 360 hours.
Related posts
- How Grab built Scarlet: the AI teammate that turns a Slack message into a production data pipeline
Grab Engineering mediumAdeptGrab's ADW team rebuilt Scarlet, its Slack-based data-pipeline agent, around a short core prompt plus a versioned library of Markdown skills (platform, routing, repository, workflow) loaded on demand, shrinking the prompt about 25x and letting new teams onboard by adding one reviewed repository skill. Platform tools sit behind two-tool MCP bridges, data-platform actions run under the requester's short-lived token, and sign-in pauses use LangGraph interrupts to resume runs. Scarlet now validates the data its changes produce by comparing CI candidate output against production (schema, counts, keys, nulls, stats, row diffs), with inconclusive treated as failure and verdicts bound to commits. Deterministic scaffolds replaced model guesses for predictable config, and after rollout the merge rate rose from about 50% to over 85% while repositories served grew about fourfold.
- Scripting with GitHub CLI
GitHub Engineering mediumAdeptGitHub CLI (`gh`) can be extended and scripted by combining it with standard Unix tools. Aliases shorten common commands, PAGER settings route output through `less` or `delta`, and `fzf` plus `cut` turn `gh pr list` into an interactive PR checkout. When output is piped, `gh` emits tab-delimited, untruncated, uncolored text for scripts, and it comes pre-installed in GitHub Actions for tasks like enabling auto-merge or creating releases. `gh api` handles REST and GraphQL calls with auth, pagination, caching and built-in jq filtering, demonstrated by dynamically building a search for issues involving members of a team.
- The Interaction Changes Everything: Treating AI Agents as Collaborators, Not Automation
Engineering@Microsoft mediumAdeptMicrosoft's Entra SDK v1-to-v2 migration across hundreds of repositories succeeded with an AI coding agent only after the team replaced step-by-step checklists with prompts that give the agent a role, mission and permission to use judgment. The result was 80–90% accuracy, with each repository done in under 2 hours instead of 4–6 weeks. The shared eight-part prompt template covers identity and mission, purpose, prioritized goals, steps with examples and escalation triggers, never/always security boundaries, self-validation and PR documentation, an explicit escalation process (including stopping after the same error twice), and a closing of recognition. Reported effects include more escalation instead of guessing, better PR descriptions, more graceful failures, and reuse of the template for security analysis, code review and documentation.
- Continuous AI for accessibility: How GitHub transforms feedback into inclusion
GitHub Engineering mediumAdeptGitHub built an event-driven accessibility feedback pipeline on GitHub Actions, Copilot and the GitHub Models API that turns every user report into a tracked, prioritized issue. Issue creation triggers Copilot analysis that uses stored, PR-editable prompt files instead of fine-tuning. The analysis fills about 80% of 40+ metadata fields and suggests WCAG criteria, severity, affected user groups, team assignment and a reproduction checklist. A second Action parses Copilot's comment to apply labels and board status. Humans verify at each stage, and their corrections are logged to refine the prompts. About 75–80% of reports match existing audit findings and get reprioritized by real-world impact, and issues close only once the user confirms the fix works.
- Automating cross-repo documentation with GitHub Agentic Workflows
GitHub Engineering mediumAdeptAspire's team uses GitHub Agentic Workflows to auto-draft documentation pull requests in a separate docs repo whenever a product pull request merges, with the shipping engineer assigned as reviewer. The agent gets read-only access and emits intent, while a narrowly scoped safe-outputs handler with a two-repo GitHub App token, branch allow-lists, protected files and draft-only PRs performs the writes. A deterministic bash resolver maps milestones to docs release branches before the agent runs. Over 30 days, 396 runs produced 82 docs PRs, all merged, at a median 44.8 hours, after the prompt was tightened with negative examples to cut an initial ~13% false-positive rate.