{"enrichment":{"faq":[{"a":"github-actions workflows are defined in YAML files stored in `.github/workflows/` directory. Start with a workflow name, specify trigger events (like `push` or `pull_request`), and define jobs containing steps. Each step runs commands or uses actions. Use `name:`, `on:`, and `jobs:` as top-level keys. Reference the workflow structure template in documentation for a complete example with proper indentation and syntax.","q":"How do I create a GitHub Actions workflow file?"},{"a":"github-actions security best practices include: pin action versions to specific commits (not `latest` or branches), use least privilege permissions via `permissions:` blocks, store secrets in GitHub Secrets and reference them as `${{ secrets.NAME }}`, avoid hardcoding credentials, validate untrusted inputs to prevent injection attacks, and review third-party actions before use. Never pass secrets as command-line arguments or log them.","q":"What are github-actions security best practices I should follow?"},{"a":"github-actions script injection occurs when untrusted input reaches shell commands. Prevent it by: avoiding `run:` with direct variable interpolation from pull requests, using action inputs instead of `github.event.pull_request.body`, setting `GITHUB_OUTPUT` safely, and using contexts like `github.event.pull_request` only in trusted contexts. For `pull_request_target`, apply extra caution since it runs with write permissions on the base branch.","q":"How do I prevent script injection vulnerabilities in github-actions?"},{"a":"github-actions permissions should follow least privilege: explicitly declare what your workflow needs via the `permissions:` key at job or workflow level. Common permissions include `contents: read` for checkout, `pull-requests: write` for comments, and `id-token: write` for OIDC. Default to minimal access and grant only required scopes. Avoid `permissions: write-all` unless absolutely necessary, and never grant `admin` without strong justification.","q":"What permissions should I set up in github-actions workflows?"},{"a":"github-actions version management requires pinning actions to specific commit SHAs rather than tags or branches, which can be reassigned. Use `actions/checkout@abc123def456` format. Regularly audit and update versions using dependabot or manual reviews. Check release notes for security patches. Avoid `@latest` or `@main` in production workflows. For preinstalled tools like Node, Python, or Docker, verify version compatibility in workflow documentation.","q":"How do I manage and update github-actions action versions securely?"},{"a":"github-actions secrets handling: store credentials in GitHub repository or organization Secrets, never commit them to code. Reference secrets as `${{ secrets.SECRET_NAME }}`. Avoid logging secrets by using `::add-mask::` for sensitive output. Don't pass secrets to third-party actions unless necessary. Use environment variables to inject secrets into steps. For external systems, consider short-lived tokens via OIDC instead of long-lived credentials.","q":"How should I handle secrets and sensitive data in github-actions?"}],"shadow_tags":["ci-cd-automation","workflow-orchestration","secret-management","access-control","vulnerability-prevention","version-pinning","runner-configuration","event-triggering"],"summary_rewrite":"This skill guides you through building GitHub Actions workflows with emphasis on security, proper versioning, and avoiding common pitfalls. It covers workflow structure, permissions, events, and recommended actions while highlighting anti-patterns like hardcoded secrets and injection vulnerabilities."},"files":[{"bytes":6565,"path":"skills/github-actions/SKILL.md","sha256":"c63e01d4e5858abc090804ba00cfad5f2e014902eff75c14dab462d8fe36fe59","url":"https://skillfed.io/files/DaleStudy/skills/github-actions/e757339d/SKILL.md"}],"gist":{"api_url":"https://skillfed.io/api/skills/DaleStudy/skills/github-actions.json","as_of":"2026-04-07","description":"GitHub Actions skill helps you create secure, properly-versioned workflows following CI/CD best practices. npx skillfed install DaleStudy/skills/github-actions","install":{"file":"skills/github-actions/SKILL.md","manual":["git clone https://github.com/DaleStudy/skills","cp -r skills/skills/github-actions ~/.claude/skills/github-actions"],"primary":"npx skillfed install DaleStudy/skills/github-actions","version":"e757339d"},"kind":"skill","mirror_url":"https://skillfed.io/DaleStudy/skills/github-actions.md","similar":[{"id":"xiaolai/vmark/workflow-audit","name":"Workflow Audit","publisher":"xiaolai/vmark","url":"https://skillfed.io/xiaolai/vmark/workflow-audit"},{"id":"secondsky/claude-skills/cloudflare-workers-ci-cd","name":"cloudflare-workers-ci-cd","publisher":"secondsky/claude-skills","url":"https://skillfed.io/secondsky/claude-skills/cloudflare-workers-ci-cd"}],"title":"github-actions by DaleStudy: Create and configure GitHub \u2014 SkillFed","use":{"when":["github-actions security best practices include: pin action versions to specific commits (not `latest` or branches).","github-actions script injection occurs when untrusted input reaches shell commands."]},"verify":{"line":"Read SKILL.md below before installing","n_files":1},"what":{"lead":"GitHub Actions skill helps you create secure, properly-versioned workflows following CI/CD best practices.","rest":"This skill guides you through building GitHub Actions workflows with emphasis on security, proper versioning, and avoiding common pitfalls. It covers workflow structure, permissions, events, and recommended actions while highlighting anti-patterns like hardcoded secrets and injection vulnerabilities."}},"id":"DaleStudy/skills/github-actions","links":{"html":"https://skillfed.io/DaleStudy/skills/github-actions","md":"https://skillfed.io/DaleStudy/skills/github-actions.md","repo":"https://github.com/DaleStudy/skills"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":0,"language":"TypeScript","last_updated":"2026-04-07","license":"MIT","name":"github-actions","publisher":"DaleStudy","stars":4},"relations":{"similar":[{"id":"shipshitdev/skills/github-actions-author"},{"id":"DaleStudy/skills/bun"},{"id":"shuvonsec/claude-bug-bounty/cicd-security"},{"id":"xiaolai/vmark/workflow-audit"},{"id":"secondsky/claude-skills/cloudflare-workers-ci-cd"},{"id":"DaleStudy/skills/git"},{"id":"superagent-ai/skills/ci-cd-security"},{"id":"JosiahSiegel/claude-plugin-marketplace/github-ai-features-2025"},{"id":"backnotprop/plannotator/review-renovate"},{"id":"elementalsouls/Claude-BugHunter/bb-local-toolkit"}]},"slug":{"owner":"DaleStudy","repo":"skills","skill":"github-actions"},"version":"e757339d"}
