AGENT SKILL

ci

GitHub Actions workflows that implement the Gitflow model — CI gating, branch protection enforcement, and tag-triggered release.

License 许可
MIT
所属仓库
eyelock/assistants
最近更新
2026-11-15
Stars
★ 1
Forks
0

01 前言 Front Matter

name
ci
description
GitHub Actions workflows that implement the Gitflow model — CI gating, branch protection enforcement, and tag-triggered release.

02 资源文件 5

03 SKILL.md 正文

CI for Gitflow

Three workflows wire up Gitflow in GitHub Actions. See references for annotated examples:

  • ci.md — quality gate on every push and PR
  • protect-main.md — enforce that only release/* and hotfix/* can PR into main
  • release.md — tag-triggered release with CI verification gate

Branch Protection Settings

In Settings → Branches, configure rules for both main and develop:

  • Require a pull request before merging
  • Require status checks — add the All Clear job (see ci.md)
  • Require branches to be up to date before merging
  • Do not allow force pushes or deletions

Only the All Clear aggregator job should be a required check, not individual jobs. Individual jobs are skipped when irrelevant files change; the aggregator always runs and reports the true final status.

Required Secrets

Secret Used by Purpose
GITHUB_TOKEN All workflows Auto-provided; no setup needed
Any release secrets release.yml Project-specific (signing keys, credentials, registry tokens)

04 同仓库更多 Skills