Compact set of focused GitHub Actions samples. Each folder covers one topic: triggers, job flow, artifacts, custom actions, secrets, containers, or security.
Show practical patterns without long explanations.
- Basic Workflow – first simple workflow and manual trigger
- Job Dependencies – jobs that wait on others and pass data
- Issue Events – reacting to issue open / label events
- Event Triggers – multiple events, path filters, manual dispatch
- Advanced Execution Patterns – matrix builds, reusable workflow, continue-on-error
- Custom Actions – local composite / JS / Docker action examples
- Artifacts and Outputs – share build files and small values between jobs
- Environment Variables & Secrets – safe use of env vars and secrets
- Docker Workflows – run jobs in a container + service (e.g. MongoDB)
- Security – least‑permission tokens, simple script injection guard
- Triggers (push, PR, manual, issues)
- Job relationships (
needs, matrix) - Outputs & artifacts
- Custom local actions
- Secrets vs plain env vars
- Container + service usage
- Minimal permission security pattern
- Short on purpose
- No invented metrics
- Mix and reuse components freely
basic-workflow → job-dependencies → issue-events → event-triggers → advanced-execution-patterns → custom-actions → artifacts-and-outputs → env-variables-and-secrets → docker-workflows → security
Feel free to adapt any snippet.