# Github Actions 5 Reusable Workflows

> Sub-skill of github-actions: 5. Reusable Workflows (+5).

- Skill: `vamseeachanta/github-actions-5-reusable-workflows` (Agent Skill)
- Install (CLI): `npx skillmds@latest add vamseeachanta/github-actions-5-reusable-workflows`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vamseeachanta/github-actions-5-reusable-workflows/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: vamseeachanta (https://skillmd.com/u/vamseeachanta)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/vamseeachanta/github-actions-5-reusable-workflows

---


# 5. Reusable Workflows (+5)

## 5. Reusable Workflows


```yaml
# .github/workflows/reusable-python-ci.yml
name: Reusable Python CI

on:
  workflow_call:
    inputs:
      python-version:
        description: 'Python version to use'
        required: false

*See sub-skills for full details.*

## 6. Composite Actions


```yaml
# .github/actions/setup-project/action.yml
name: 'Setup Project'
description: 'Set up Python environment with dependencies and caching'

inputs:
  python-version:
    description: 'Python version'
    required: false
    default: '3.11'

*See sub-skills for full details.*

## 7. Secrets and Environment Management


```yaml
# .github/workflows/deploy.yml
name: Deploy

on:
  push:
    branches: [main]
  workflow_dispatch:
    inputs:
      environment:

*See sub-skills for full details.*

## 8. Container Builds and Registry Publishing


```yaml
# .github/workflows/docker.yml
name: Docker Build and Push

on:
  push:
    branches: [main]
    tags: ['v*']
  pull_request:
    branches: [main]

*See sub-skills for full details.*

## 9. Scheduled Workflows and Maintenance


```yaml
# .github/workflows/maintenance.yml
name: Repository Maintenance

on:
  schedule:
    # Run every Monday at 6 AM UTC
    - cron: '0 6 * * 1'
  workflow_dispatch:


*See sub-skills for full details.*

## 10. PR Automation and Checks


```yaml
# .github/workflows/pr-checks.yml
name: PR Checks

on:
  pull_request:
    types: [opened, synchronize, reopened, edited]

permissions:
  contents: read

*See sub-skills for full details.*

