thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Intermediate

Action

A reusable unit of code for GitHub Actions workflows, implemented as JavaScript, a Docker container, or a composite of steps.

Definition

Actions are referenced as owner/repo@ref and defined by an action.yml metadata file with inputs, outputs, and runs. Pinning actions to a full commit SHA is the most secure reference.

Example

uses: actions/setup-python@v5 with python-version: '3.12'

Exam tip

Pin third-party actions to a commit SHA to prevent supply-chain tampering; tags can be moved.

Related terms