Install, run, and fix errors from actionlint — the GitHub Actions workflow linter. Load when validating `.github/workflows/*.yml` files after migration or generation.
中文简介正在准备中。当前显示原文说明。
5-phase migration process, security guardrails, deliverables, archival protocol, and the 10-item completion checklist for any CI/CD migration to GitHub Actions. Load at the start of every migration.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
All migrations follow these phases in order — skipping any phase is a completion failure.
Jenkinsfile, azure-pipelines.yml, .circleci/config.yml, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, bamboo-specs.yml, .drone.yml (and any included/referenced files).Examine the source thoroughly. Identify:
mapping.md)mapping.md for syntax translations.Load and follow the actionlint skill: install the tool if needed, run it against all generated workflows, resolve every finding, and capture the real output for the report.
Before writing or publishing any report, follow Safe Migration Reports below. Review validation output and examples for credential values; report only names and references, not values.
.github/ci-archive/MIGRATION-README.md using the platform skill's report-template.md, filled with real data — no placeholders, real actionlint output..github/ci-archive/ and DELETE them from their original locations (see Archival below).MIGRATION-README.md is the sole report.actions/*, azure/*, aws-actions/*, google-github-actions/*.permissions: blocks.Never emit a commit SHA that is not present verbatim in the output of a command you ran in this session. A fabricated SHA either fails at dispatch time or resolves to an unintended commit.
Step 1 — check the shipped catalog first. pinned-actions.json in this skill
directory holds verified SHAs for the actions this product emits most often. It
ships with the plugin, so it works with no network at all:
grep -A2 '"actions/checkout"' plugin/skills/migration-core/pinned-actions.json
If the action is in the catalog, use that SHA and move on. Check resolved_on
in the file — if it is more than about six months old, say so in the report so
the user knows the pins are due a refresh.
Step 2 — capability probe. Only for actions the catalog does not cover. Network access is not guaranteed; offline and air-gapped installs are supported. Run this and branch on the result:
gh auth status >/dev/null 2>&1 && echo NETWORK_OK || echo NETWORK_UNAVAILABLE
Step 3a — if NETWORK_OK. Resolve the latest release tag, then resolve that
tag to a commit SHA:
gh api repos/OWNER/REPO/releases/latest --jq .tag_name
gh api repos/OWNER/REPO/commits/TAG --jq .sha
Use commits/TAG rather than git/ref/tags/TAG — for an annotated tag the
latter returns the tag object SHA, not the commit SHA.
If the repository publishes no releases, take the default-branch head:
gh api "repos/OWNER/REPO/commits?per_page=1" --jq '.[0].sha'
Step 3b — if NETWORK_UNAVAILABLE. Do not guess, and do not write a workflow
step you cannot pin. Stop and tell the user which actions need resolving, so they
can either grant network access or confirm the pin themselves. An unpinned action
is a real defect — the quality gate will flag it, and it should.
A fully resolved pin looks like this:
# actions/checkout v7.0.1
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
${{ secrets.NAME }} — sensitive credentials; never log or echo, never put values in workflow files.${{ vars.NAME }} — non-sensitive configuration.mapping.md.${{ secrets.NAME }} / ${{ vars.NAME }} references, never credential values.[REDACTED] when an omission must be shown; redaction is not an unfinished placeholder..github/workflows/*.yml replicating source functionality.actionlint output pasted into the report (see actionlint skill)..github/ci-archive/MIGRATION-README.md — complete, no placeholders.MIGRATION-README.md as fallback).mkdir -p .github/ci-archive/
MOVE (don't copy) source CI/CD files. Examples:
| Original | Archive destination |
|---|---|
Jenkinsfile | .github/ci-archive/Jenkinsfile |
azure-pipelines.yml | .github/ci-archive/azure-pipelines.yml |
.circleci/config.yml | .github/ci-archive/circleci-config.yml (delete .circleci/ dir) |
.gitlab-ci.yml | .github/ci-archive/.gitlab-ci.yml |
.travis.yml | .github/ci-archive/.travis.yml |
.drone.yml | .github/ci-archive/.drone.yml |
bitbucket-pipelines.yml | .github/ci-archive/bitbucket-pipelines.yml |
bamboo-specs.yml | .github/ci-archive/bamboo-specs.yml |
Verify nothing remains in the original locations.
Migration is NOT COMPLETE until all 10 are true:
actionlint executed per the actionlint skill; real output captured.github/ci-archive/ and deleted from original locations.github/ci-archive/MIGRATION-README.md written from the platform's report-template.md, no placeholdersMigration complete. MIGRATION-README.md created and Pull Request updated/created with migration report.
(If PR was unavailable: Migration complete. MIGRATION-README.md created in .github/ci-archive/)
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Install, run, and fix errors from actionlint — the GitHub Actions workflow linter. Load when validating `.github/workflows/*.yml` files after migration or generation.
中文简介正在准备中。当前显示原文说明。
Azure DevOps migration to GitHub Actions — syntax mappings and the migration report template for YAML pipelines, templates, variable groups, service connections, deployment jobs, stages, conditional logic. Load with `migration-core` when migrating Azure DevOps sources to GitHub Actions.
中文简介正在准备中。当前显示原文说明。
Bamboo migration to GitHub Actions — syntax mappings and the migration report template for Build plans, deployment projects, tasks, requirements, variables, plan branches. Load with `migration-core` when migrating Bamboo sources to GitHub Actions.
中文简介正在准备中。当前显示原文说明。
Bitbucket Pipelines migration to GitHub Actions — syntax mappings and the migration report template for Pipelines, Pipes, parallel steps, branch/pull-request workflows, deployments, variables. Load with `migration-core` when migrating Bitbucket Pipelines sources to GitHub Actions.
中文简介正在准备中。当前显示原文说明。
CircleCI migration to GitHub Actions — syntax mappings and the migration report template for Workflows, jobs, Orbs, executors, contexts, parameters, matrix jobs, approval gates. Load with `migration-core` when migrating CircleCI sources to GitHub Actions.
中文简介正在准备中。当前显示原文说明。
Drone CI migration to GitHub Actions — syntax mappings and the migration report template for Pipelines, plugins, services, secrets, triggers, multi-platform pipelines. Load with `migration-core` when migrating Drone CI sources to GitHub Actions.
中文简介正在准备中。当前显示原文说明。