Salta al contenuto principale

Workflow Settings

Event Triggers

Quick Reference

Common Actions

  • actions/checkout@v4 — Checkout repository
  • actions/setup-node@v4 — Set up Node.js
  • actions/setup-java@v4 — Set up JDK
  • actions/setup-python@v5 — Set up Python
  • actions/setup-go@v5 — Set up Go
  • actions/upload-artifact@v4 — Upload artifact
  • actions/download-artifact@v4 — Download artifact
  • docker/login-action@v3 — Docker registry login

Context Variables

  • $${{ github.sha }} — Commit SHA
  • $${{ github.ref }} — Branch/tag ref
  • $${{ github.actor }} — Triggering user
  • $${{ github.repository }} — owner/repo
  • $${{ secrets.NAME }} — Repository secret
  • $${{ env.KEY }} — Environment variable
  • $${{ matrix.os }} — Current matrix OS
  • $${{ runner.os }} — Runner OS name

Cron Schedule Examples

  • 0 0 * * * — Every day at midnight UTC
  • 0 9 * * 1-5 — Weekdays at 09:00 UTC
  • */15 * * * * — Every 15 minutes
  • 0 0 1 * * — First of each month
  • 0 6,18 * * * — Twice daily (06:00 & 18:00)