← Back to all products

GitHub Actions Workflows

$29

40+ reusable GitHub Actions workflows for CI/CD, testing, deployment, security scanning, and release automation.

📁 16 files🏷 v1.0.0
MarkdownJSONYAMLDockerTerraformAWSGitHub ActionsCI/CD

📁 File Structure 16 files

github-actions-workflows/ ├── LICENSE ├── README.md ├── composite-actions/ │ ├── docker-build-push/ │ │ └── action.yml │ └── setup-python/ │ └── action.yml ├── guides/ │ └── github-actions-patterns.md └── workflows/ ├── ci.yml ├── dependency-update.yml ├── deploy-staging.yml ├── docker-build.yml ├── node-test.yml ├── python-test.yml ├── release.yml ├── security-scan.yml ├── stale-issues.yml └── terraform-plan.yml

📖 Documentation Preview README excerpt

GitHub Actions Workflows

Production-ready CI/CD workflows for Python, Node.js, Docker, Terraform, and repository maintenance.

Drop these into your .github/workflows/ directory and customize the variables. Each workflow is self-contained with inline comments explaining every decision.

What You Get

  • 10 workflow files covering CI, deployment, Docker, releases, security, testing, and maintenance
  • 2 composite actions for reusable setup steps (Python environment, Docker build & push)
  • 1 comprehensive guide on GitHub Actions patterns and best practices (1500+ words)
  • All workflows use current action versions (v4/v5) and follow GitHub's security recommendations

File Tree


github-actions-workflows/
├── workflows/
│   ├── ci.yml                    # CI pipeline: Python matrix + lint
│   ├── deploy-staging.yml        # Deploy to staging on develop branch
│   ├── docker-build.yml          # Docker build & push on version tags
│   ├── release.yml               # Auto-generate releases with changelog
│   ├── security-scan.yml         # Trivy + CodeQL on schedule and push
│   ├── terraform-plan.yml        # Terraform fmt/validate/plan/apply
│   ├── python-test.yml           # Python 3.10-3.12 matrix, pytest, mypy, ruff
│   ├── node-test.yml             # Node 18/20/22 matrix, Jest, ESLint, tsc
│   ├── dependency-update.yml     # Weekly pip-audit + npm audit
│   └── stale-issues.yml          # Auto-close stale issues and PRs
├── composite-actions/
│   ├── setup-python/
│   │   └── action.yml            # Python setup with pip caching
│   └── docker-build-push/
│       └── action.yml            # Docker Buildx with multi-tag + layer cache
├── guides/
│   └── github-actions-patterns.md  # Best practices guide
├── README.md
├── LICENSE
└── manifest.json

Getting Started

1. Copy workflows to your repository


# Copy all workflows
cp workflows/*.yml your-repo/.github/workflows/

# Copy composite actions
cp -r composite-actions/ your-repo/.github/composite-actions/

2. Configure repository secrets

Go to Settings > Secrets and variables > Actions and add:

| Secret | Used By | Required |

|--------|---------|----------|

| CODECOV_TOKEN | ci.yml, python-test.yml, node-test.yml | Optional |

| STAGING_DEPLOY_TOKEN | deploy-staging.yml | For staging deploys |

... continues with setup instructions, usage examples, and more.

📄 Code Sample .yml preview

workflows/ci.yml name: CI on: push: branches: [main, develop] pull_request: branches: [main] jobs: test: runs-on: ubuntu-latest strategy: matrix: python-version: ["3.11", "3.12"] steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - run: pip install -r requirements.txt - run: pytest --cov --cov-report=xml - uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: "3.12" - run: pip install ruff mypy - run: ruff check . - run: mypy --strict src/