YAML Syntax

Last updated

What is YAML Syntax?

GitHub Actions workflows are written in YAML, a human-readable format that uses indentation to represent structure instead of brackets or tags. A workflow file defines keys like on for triggers, jobs for the tasks to run, and steps for individual commands within each job. Getting the indentation right is important, since YAML is sensitive to spacing and incorrect indentation can break the entire workflow.

Free resources to learn YAML Syntax

More in stage 22: Creating Apps

YAML Syntax: common questions

Can I learn YAML Syntax in Hindi?

This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain YAML Syntax in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.

Is this YAML Syntax tutorial for beginners?

It is lesson 126 of 155 in the free Git and GitHub roadmap, in stage 22, Creating Apps. If you are new to Git and GitHub, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.

Still confused? Ask me