Skip to content

Action

Easy — everyone uses thisCI/CD & DevOps

ELI5 — The Vibe Check

An action is a reusable mini-program that does one specific thing inside your pipeline. Instead of writing the same 20 lines to set up Node.js every time, someone packaged it into an action you can just plug in. It's like a Lego brick — someone already designed it, you just click it into place.

Real Talk

In GitHub Actions, an action is a reusable unit of code that performs a specific task within a workflow step. Actions can be from the GitHub Marketplace, your own repo, or Docker containers. They abstract complex setup steps into a single uses: declaration.

Show Me The Code

steps:
  - uses: actions/checkout@v3        # Checks out your repo
  - uses: actions/setup-node@v3       # Installs Node.js
    with:
      node-version: '20'
  - uses: actions/cache@v3            # Caches node_modules

When You'll Hear This

"There's a Marketplace action for deploying to AWS." / "Write a custom action to handle our Slack notifications."

Made with passive-aggressive love by manoga.digital. Powered by Claude.