agentleFS
Microsoft AzureKnown publisherAzure/sap-automation-gh-bootstrap/skills/sdaf-gh-workflow-sequence/SKILL.md

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.

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
  1. Very specific:

    Do not encode a 07 recipe.

    line 98
  2. Distinctive:

    Does not run any workflow.

    line 102
  3. Very specific:

    Does not describe pre-00 bootstrap (repo variables, setup utility) — see sdaf-gh-bootstrap.

    line 103
  4. Very specific:

    Does not diagnose Azure-login or Terraform-auth failures — see sdaf-gh-oidc-and-auth.

    line 105
  5. Very specific:

    Does not describe SDAF core (Terraform / Ansible / self-hosted runner install) — those live in Azure/sap-automation.

    line 107

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 04 create an Environment?"
  • "Is workflow 07 usable?" / "Can I install SAP from Actions today?"
  • "Which workflows support genuine plan-only via the test input?"

Hand off to:

  • sdaf-gh-bootstrap for pre-00 setup (repo variables, setup utility, Environments, .cfg_template substitution mechanics).
  • sdaf-gh-oidc-and-auth for azure/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.

#FilePurposeRuns onCommits to main?Creates Environment?
0000-create-environment.ymlCreate control-plane Environment; generate WORKSPACES/DEPLOYER + WORKSPACES/LIBRARY tfvars from .cfg_template/GitHub-hostedYesYes (control-plane)
0101-deploy-control-plane.ymlDeploy deployer VM, SAP library, state, Key Vault, self-hosted runnerprepare-deployer on ubuntu-latest, later jobs on self-hostedNoNo
0202-create-workload-environment.ymlCreate workload-zone Environment; generate WORKSPACES/LANDSCAPE tfvarsGitHub-hostedYesYes (workload-zone)
0303-deploy-sap-workload-zone.ymlDeploy the shared workload zoneself-hostedNoNo
0404-create-system-environment.ymlGenerate WORKSPACES/SYSTEM tfvarsGitHub-hostedYesNo (deliberate — SYSTEM is config only)
0505-sap-system-deployment.ymlDeploy SAP system infrastructureself-hostedNoNo
0606-sap-software-download.ymlDownload SAP media using one predefined BOMself-hostedNoNo
06.5065-sap-software-download.ymlDownload media from app + kernel + DB BOMsself-hostedNoNo
0707-configuration-installation.ymlInstall and configure SAP — blocked, do not runself-hosted (blocked; do not dispatch)n/an/a
1010-remover-terraform.ymlDestructive removal of SAP system and/or workload zoneself-hostedNoNo
1212-remove-control-plane.ymlRemove control plane; tear down the self-hosted runnerremove-control-plane on self-hosted, then remove-control-plane-finalize on ubuntu-latestNoNo

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.

WorkflowDocs statementTreat as plan-only?
01Control-plane dry-run limitation — the input exists but is not forwardedNo
03Plan and deploy — enable test and review the planYes
05Plan and deploy — enable test deployment without applyingYes, but log can misreport — see docs/troubleshooting.md § Workflow 05 fails while reporting a successful deployment
12Workflow 10 safeguards — safer removal path; validate against your pinned SDAF version firstConditionally
10Workflow 10 safeguards — no usable plan-only gateNo

Forward reference (temporary ownership). The deeper test / plan-only concept and the workflow-05 step-conclusion-vs-log misreport are scheduled to move to a hub skill sdaf-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-00 bootstrap (repo variables, setup utility) — see sdaf-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-bootstrap
  • sdaf-gh-oidc-and-auth
  • references/workflow-inputs.md

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.