sdaf-gh-workflow-sequence
Skill1 starsChanged 3 months agoMITView on GitHub
Context-primer for the SDAF GitHub Actions workflow catalogue: the ordered sequence `00`-`12`, each workflow's `workflow_dispatch` inputs, which workflows commit generated tfvars to `main` (`00`, `02`, `04`) and which create GitHub Environments (`00` control-plane, `02` workload-zone — `04` deliberately does not), which workflows run on `self-hosted` runners (`01` deploy-control-plane and later, plus `06`, `06.5`, `10`, `12`), which support genuine plan-only via `test` (per current docs), and the status of the blocked workflow `07-configuration-installation.yml`. Invoke on "what does workflow N do", "what runs first", "which workflow commits to `main`", "why does workflow 04 not create an Environment", "is workflow 07 usable?", or "which workflows are safe to plan-only". Hand off to `sdaf-gh-bootstrap` for pre-`00` setup and to `sdaf-gh-oidc-and-auth` for authentication failures inside any workflow.
In this repository4 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- sdaf-gh-bootstrapSkill
- sdaf-gh-oidc-and-authSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 98
Do not encode a 07 recipe.
- Distinctive: line 102
Does not run any workflow.
- Very specific: line 103
Does not describe pre-00 bootstrap (repo variables, setup utility) — see sdaf-gh-bootstrap.
- Very specific: line 105
Does not diagnose Azure-login or Terraform-auth failures — see sdaf-gh-oidc-and-auth.
- Very specific: line 107
Does not describe SDAF core (Terraform / Ansible / self-hosted runner install) — those live in Azure/sap-automation.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
sdaf-gh-workflow-sequence
Primer on the ordered workflow catalogue and where each workflow's outputs
land. This skill does not drive execution; use it to answer "what runs
where, in what order, and what commits to main", then hand off.
When to invoke
- "What does workflow N do?" / "Which workflow runs after N?"
- "Which workflows commit to
main?" - "Why doesn't workflow
04create an Environment?" - "Is workflow
07usable?" / "Can I install SAP from Actions today?" - "Which workflows support genuine plan-only via the
testinput?"
Hand off to:
sdaf-gh-bootstrapfor pre-00setup (repo variables, setup utility, Environments,.cfg_templatesubstitution mechanics).sdaf-gh-oidc-and-authforazure/login/ Terraform-auth failures inside any workflow.
The sequence
The canonical spine, from README.md § Workflow sequence
and the per-stage docs. Detailed per-workflow inputs are in
references/workflow-inputs.md.
| # | File | Purpose | Runs on | Commits to main? | Creates Environment? |
| 00 | 00-create-environment.yml | Create control-plane Environment; generate WORKSPACES/DEPLOYER + WORKSPACES/LIBRARY tfvars from .cfg_template/ | GitHub-hosted | Yes | Yes (control-plane) |
| 01 | 01-deploy-control-plane.yml | Deploy deployer VM, SAP library, state, Key Vault, self-hosted runner | prepare-deployer on ubuntu-latest, later jobs on self-hosted | No | No |
| 02 | 02-create-workload-environment.yml | Create workload-zone Environment; generate WORKSPACES/LANDSCAPE tfvars | GitHub-hosted | Yes | Yes (workload-zone) |
| 03 | 03-deploy-sap-workload-zone.yml | Deploy the shared workload zone | self-hosted | No | No |
| 04 | 04-create-system-environment.yml | Generate WORKSPACES/SYSTEM tfvars | GitHub-hosted | Yes | No (deliberate — SYSTEM is config only) |
| 05 | 05-sap-system-deployment.yml | Deploy SAP system infrastructure | self-hosted | No | No |
| 06 | 06-sap-software-download.yml | Download SAP media using one predefined BOM | self-hosted | No | No |
| 06.5 | 065-sap-software-download.yml | Download media from app + kernel + DB BOMs | self-hosted | No | No |
| 07 | 07-configuration-installation.yml | Install and configure SAP — blocked, do not run | self-hosted (blocked; do not dispatch) | n/a | n/a |
| 10 | 10-remover-terraform.yml | Destructive removal of SAP system and/or workload zone | self-hosted | No | No |
| 12 | 12-remove-control-plane.yml | Remove control plane; tear down the self-hosted runner | remove-control-plane on self-hosted, then remove-control-plane-finalize on ubuntu-latest | No | No |
04 deliberately does not create a GitHub Environment. The expected
result is a committed WORKSPACES/SYSTEM/<workload-zone>-<sid>/…tfvars.
See docs/troubleshooting.md § A creation workflow does not commit configuration
and docs/05-00-sap-system.md § Create system configuration.
test / plan-only semantics per workflow
From the current docs. Do not treat test as a dry-run where the docs
explicitly say otherwise.
| Workflow | Docs statement | Treat as plan-only? |
01 | Control-plane dry-run limitation — the input exists but is not forwarded | No |
03 | Plan and deploy — enable test and review the plan | Yes |
05 | Plan and deploy — enable test deployment without applying | Yes, but log can misreport — see docs/troubleshooting.md § Workflow 05 fails while reporting a successful deployment |
12 | Workflow 10 safeguards — safer removal path; validate against your pinned SDAF version first | Conditionally |
10 | Workflow 10 safeguards — no usable plan-only gate | No |
Forward reference (temporary ownership). The deeper
test/ plan-only concept and the workflow-05step-conclusion-vs-log misreport are scheduled to move to a hub skillsdaf-plan-and-test-semantics(plan §5.4,sdaf-plan-and-test-semantics) when the hub node ships. Until then, this primer carries the surface-scoped view; do not delete the rows above when that hub skill lands — they remain the GitHub-Actions view.
Workflow 07 — blocked in current docs
07-configuration-installation.yml is documented as blocked: the YAML
contains invalid tab indentation and its parameter-validation step passes an
absolute inventory path the composite action prefixes. See
docs/06-00-software-installation.md § Configure and install SAP
and README.md § Current implementation status.
Do not encode a 07 recipe; hand off to a "workflow 07 is not usable" note.
What this skill does NOT do
- Does not run any workflow.
- Does not describe pre-
00bootstrap (repo variables, setup utility) — seesdaf-gh-bootstrap. - Does not diagnose Azure-login or Terraform-auth failures — see
sdaf-gh-oidc-and-auth. - Does not describe SDAF core (Terraform / Ansible / self-hosted runner
install) — those live in
Azure/sap-automation.
See also
sdaf-gh-bootstrapsdaf-gh-oidc-and-authreferences/workflow-inputs.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

