A push that ends on a green check

A push is finished when the check beside that commit is green.

A push is finished when the check beside that commit is green, not when the editor says the file was saved. To read that run on one whiteboard, use the header control to start a meeting

The search is the first push that ends on a green check. The Quickstart on docs.github.com, checked 2026-11-16, puts the file at .github/workflows/github-actions-demo.yml, triggers on: [push], runs job Explore-GitHub-Actions on ubuntu-latest, and checks out with actions/checkout@v6.

Add the ymlCommit the pushOpen the green run
v6
checkout in that day’s doc
push
committing the file triggers it
yml
must live in .github/workflows

Put the file where GitHub looks

  1. 1

    Create the path with Add file

    On the repository, click Add file, then Create new file. Name it .github/workflows/github-actions-demo.yml. If the folders are missing, that name creates .github and workflows.

  2. 2

    Paste the Quickstart YAML

    Use the name GitHub Actions Demo, on: [push], job id Explore-GitHub-Actions, and runs-on: ubuntu-latest. The checkout step is actions/checkout@v6, then ls ${{ github.workspace }}. The page also has echo steps and a run-name. Any file name is fine. The extension must be .yml or .yaml, and the folder must be .github/workflows.

  3. 3

    Commit changes

    Commit to the default branch, or to a new branch and open a pull request. The Quickstart says the commit on a branch triggers push. The pull request is optional.

Open the run that went green

  1. 1

    Click Actions

    Under the repository name, click Actions. If the tab is missing, check whether Actions is disabled. The doc page is Managing GitHub Actions settings for a repository.

  2. 2

    Open the workflow name

    The sample name is GitHub Actions Demo. The run title comes from run-name: the actor’s username plus is testing out GitHub Actions.

  3. 3

    Open the job log

    Under Jobs, click Explore-GitHub-Actions and expand a step. With gh already logged in, gh run list --workflow github-actions-demo.yml lists the same runs.

name: GitHub Actions Demo
on: [push]
jobs:
  Explore-GitHub-Actions:
    runs-on: ubuntu-latest
    steps:
      - name: Check out repository code
        uses: actions/checkout@v6
      - name: List files in the repository
        run: |
          ls ${{ github.workspace }}
What you seeWhat the docs mean
success on this demoecho, checkout@v6, and ls finished
a skipped jobalso reports Success
your test commandnot in this file
01

No Actions tab

The repository may have Actions disabled. Open the repository settings before you create a second file with a new name.

02

The commit produced no run

The file is outside .github/workflows, or the extension is not yml/yaml. The commit has to land on a branch.

03

Green, and the tests never ran

Replace an echo with your test command and push again. The check follows only the commands you put in steps.

Path: Quickstart YAML, then Commit changes, then open Explore-GitHub-Actions under Actions. The checkout major version is whatever that day’s Quickstart shows. On 2026-11-16 it was actions/checkout@v6.

GitHub CLI login and PRs · Create and join a room · Cursor project rules · wbroom

Must the file be named github-actions-demo.yml?

No. Any name is allowed. The extension must be .yml or .yaml, and the file must sit in .github/workflows. That is the name the Quickstart uses.

Does a commit on a new branch run?

Yes. The Quickstart says the commit on a branch triggers on: [push] even if you then open a pull request. The pull request is not required.

Does the green check mean tests passed?

No. This sample is echoes, actions/checkout@v6, and ls. Put your test command in steps when you want tests. A skipped job also reports Success.

The Actions tab is missing. What now?

The Quickstart says a missing Actions tab can mean Actions is disabled for that repository. Turn it on in the repository settings. A different YAML will not help.

Start a meeting