Skip to content

CICD-050 · Select an explicit external action source ​

Encyclopedia · Gitea runner fundamentals · All snippets

Previous · CICD-049 · Next · CICD-051

1. Where it fits ​

  • Placement .gitea/workflows/ci.yml, at the workflow level for on and inside steps for uses.
  • Prerequisites Gitea Actions enabled, authorized trusted runner registered and local repository checked out when needed.
  • Platforms gitea-actions.

2. Copy the snippet ​

yaml
uses: https://github.com/actions/checkout@v4

3. How it works ​

An absolute action reference chooses its source explicitly. The runner must reach that origin and support the action runtime.

4. Verify the result ​

Verify the trusted Gitea runner can reach and download this action. Prefer reviewed SHA pins in production.

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