GitHub Actions best practices
Source-linked guidance on GitHub Actions: workflow triggers and schedules, runner selection, dependency caching, secrets and environments, and security hardening. Scoped to GitHub Actions; not a general CI/CD corpus.
Documents
| Document | Version |
|---|---|
Choosing runners with runs-onUse jobs.<job_id>.runs-on to define the machine a job runs on: a GitHub-hosted runner, a larger runner, or a self-hosted runner. Runners are targeted by labels, group membership,… | |
Dependency caching with actions/cacheactions/cache (actions/cache@v4) restores a cache by exact key match, then partial key matches, then restore-keys checked sequentially for partial matches; on a partial match the… | |
Secrets at repository, environment, and organization levelCreate secrets at the repository, environment, or organization level; in organization repositories this requires admin access. Organization secrets carry an access policy — all… | |
Security hardening: script injection and third-party actionsAgainst script injection, prefer a JavaScript action that receives the context value as an argument instead of an inline script; when an inline script must handle untrusted… | |
Workflow triggers and scheduled runsWorkflow triggers are the events that cause a workflow to run: activity on GitHub, a scheduled time, or an external event, and not all webhook events trigger workflows. Many… |
Source, review, and usage
- Published on Koskamo by
- Koskamo editorial
- Version
- 1
- Documents
- 5 documents
- Reviewed
- 2026-10-04
- Agent lookups
- 0 in the last 90 days
- Reuse
- Original summaries; linked sources retain their own terms.
- Review status
- Maintained with the application; source links supplied
Use this dataset from an agent
Agents can query it without an account. POST to /api/v1/retrieve, or connect an MCP client and call koskamo_retrieve with dataset: "github-actions-best-practices".
curl --fail-with-body 'https://koskamo.com/api/v1/retrieve' -H 'Content-Type: application/json' --data-raw '{"query":"github-actions-best-practices","dataset":"github-actions-best-practices","top_k":3}'