Skip to content

CICD-012 · Name runs by actor and ref ​

Encyclopedia · Events and triggers · All snippets

Previous · CICD-011 · Next · CICD-013

1. Where it fits ​

  • Placement .github/workflows/ci.yml, at workflow level, or within jobs for a named job mapping.
  • Prerequisites workflow on an example repository with main as default.
  • Platforms github-actions, gitea-actions.

2. Copy the snippet ​

yaml
run-name: "${{ github.actor }} runs CI on ${{ github.ref_name }}"

3. How it works ​

run-name labels an individual execution after the expression resolves. name still identifies the workflow that owns the runs.

4. Verify the result ​

Read the changed title in Actions. Confirm run-name support on the Gitea version in use.

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