GitHub Actions: Hello World

Create a GitHub Action and use it in a workflow.

Start free course Join 47844 others!

social preview

Automation is key for streamlining your work processes, and GitHub Actions are the best way to supercharge your workflow.

What you'll learn

  • Organize and identify workflow files
  • Add executable scripts
  • Create workflow and action blocks
  • Trigger workflows
  • Discover workflow logs

What you'll build

  • A working action, including a Dockerfile, an entrypoint script, and a workflow file

Prerequisites

In this course you will work with issues and pull requests, as well as edit files. If these things are unfamiliar to you, we recommend you take the Introduction to GitHub course, first!

Projects used

The main feature introduced in this course is GitHub Actions. To learn even more, check out the GitHub Actions feature page, or the GitHub Actions documentation.

Audience

Developers, DevOps engineers, students, managers, teams, GitHub users, people interested in automation

Steps to complete this course 7
  1. Add a Dockerfile

    Start your action by creating a Dockerfile

  2. Add an entrypoint script

    Script out how your action will run with an entrypoint script

  3. Add an action.yml file

    Create the necessary metadata for the action

  4. Start your workflow file

    Get your workflow kicked off with the workflow file

  5. Run an action from your workflow file

    Specify a job and call actions within your workflow file

  6. Trigger the workflow

    See your push trigger the workflow you've created and run your action

  7. Incorporate the workflow

    Merge your branch for the workflow to become incorporated

Tags
GitHub Actions
Workflows
Hello World
Share GitHub Actions: Hello World
Average time to complete

36 minutes

Free

All public courses on Learning Lab are free.

Latest release

Learning Paths that include this course

Users who took this course also took

What is GitHub Learning Lab?

Learn new skills by completing fun, realistic projects in your very own GitHub repository.

Ready to start learning?

Start GitHub Actions: Hello World