Skip to content

CICD-110 · Call a checked-out composite action ​

Encyclopedia · Workflow reuse and caching · All snippets

Previous · CICD-109 · Next · CICD-111

1. Where it fits ​

  • Placement .github/workflows/ci.yml, under a job's steps.
  • Prerequisites trusted checkout and cache/artifact support verified on the chosen Actions runner.
  • Platforms github-actions, gitea-actions.

2. Copy the snippet ​

yaml
uses: ./.github/actions/smoke

3. How it works ​

This invokes an action at step scope or a reusable workflow at job scope. The reference and declared inputs must match that contract.

4. Verify the result ​

Checkout before using a local action and keep its relative path anchored to repository root.

Validation syntax-validated (YAML parse). Status definitions.