gha-style

Enforce security controls and version pinning in GitHub Actions workflows.

1|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/furedea/dotfiles --skill gha-style
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gha-style
Source: https://github.com/furedea/dotfiles/tree/main/agents/skills/gha-style
Command: npx skills add https://github.com/furedea/dotfiles --skill gha-style

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers implement security best practices and operational standards in GitHub Actions workflows, reducing risks and improving CI/CD reliability.

Core Features & Use Cases

  • Permission Management: Guides on whitelisting permissions to restrict access scope, preventing over-permissioned tokens.
  • Version Pinning Enforcement: Advises on pinning specific action versions or commits to ensure reproducibility and security.
  • Script Injection Prevention: Demonstrates safe handling of untrusted inputs to avoid shell command injection.
  • Timeout & Shell Settings: Recommends explicit timeout and shell configurations for stable executions.
  • Concurrency Control: Shows how to cancel redundant runs for efficient workflow executions.
  • Runner Optimization: Introduces alternative runners like Blacksmith for faster job execution.

Quick Start

Configure your GitHub Actions workflow to explicitly set permission levels, specify exact action versions, and handle inputs safely to improve security and efficiency.

Frequently Asked Questions about gha-style

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I secure GitHub Actions workflows against script injection?

To secure GitHub Actions workflows against script injection, you must safely handle untrusted inputs. This involves avoiding direct interpolation of user data into shell commands and properly sanitizing variables to prevent malicious command execution during automated deployment processes.

What is the best way to manage permissions in GitHub Actions?

The best way to manage permissions in GitHub Actions is by explicitly whitelisting permission levels. Restricting access scope prevents over-permissioned tokens, ensuring that automated deployment processes only have the minimum access required to execute safely.

How do I enforce version pinning in GitHub Actions?

To enforce version pinning in GitHub Actions, you specify exact action versions or commit SHAs instead of floating tags. This practice ensures reproducibility and security by preventing unexpected behavior changes from upstream action updates in your CI/CD pipelines.

Can I use alternative runners like Blacksmith for GitHub Actions?

Yes, you can use alternative runners like Blacksmith for GitHub Actions job execution. Runner optimization introduces these alternative runners to achieve faster job execution speeds while maintaining the operational standards required for reliable CI/CD workflows.

How do I configure concurrency control in GitHub Actions?

To configure concurrency control in GitHub Actions, you set up mechanisms to cancel redundant workflow runs. This optimization ensures efficient workflow executions by terminating outdated jobs when newer commits are pushed, saving resources and reducing pipeline latency.

What timeout and shell settings are recommended for stable GitHub Actions executions?

For stable GitHub Actions executions, explicit timeout and shell configurations are recommended. Setting clear timeout limits prevents hanging jobs from consuming resources, while specifying shell settings ensures consistent command execution environments across different runners.