AI
Your first GitHub Actions workflow: from the web UI to seeing the result
Creating your first workflow from GitHub's web UI as the official quickstart shows: where the file goes, what triggers it, where to read the result, and beginner mistakes.
Last reviewed:
What you will learn
The official guide defines Actions as a CI/CD platform that automates build, test and deployment, and shows how to add a workflow from GitHub's web UI without installing anything locally.
What to prepare
- Basic GitHub knowledge: repositories, branches and pull requests.
- A repository where you can add files.
- Access to Actions; if its tab is missing it may be disabled for the repository.
Steps
- In the repository click Add file, then Create new file, and name it .github/workflows/github-actions-demo.yml to create the folders and file together.
- Paste the example from the guide. It starts with a name and on: [push], and defines a job on ubuntu-latest that prints messages, checks out the code with actions/checkout and lists the repository files.
- Click Commit changes and choose the default branch or a new branch with a pull request.
- Because the commit triggers the push event, the workflow starts by itself.
- Open the Actions tab, pick the workflow in the sidebar, then the run you want to read.
Ready-made templates
GitHub analyzes your code and suggests suitable templates, such as Node.js ones. The guide lists CI, deployment, automation, code scanning and Pages, sourced from the actions/starter-workflows repository.
Common mistakes
- Putting the file outside .github/workflows.
- Using an extension other than yml or yaml.
- Copying a workflow from an untrusted source without reading it. My advice, not the guide's.
- Mixing up YAML indentation.
Latest updates
The guide was read on 2026-11-30 and its example uses actions/checkout@v6. Action versions change, so copy the current example from the guide, not from this page. I did not run the workflow myself.
Similar tools
To understand the components read GitHub Actions, for publishing read GitHub Pages, and for a cloud dev environment read Codespaces.
Not verified
The rest of the guide after viewing results and the workflow syntax pages were not read.
Related pages
Sources
Wording is ours, from the official source. Images and video belong to their owners and are credited with a link to the official page.