Skip to content

z-shell/.github

Z-Shell GitHub Organization

✅ Lychee ⭕ Trunk 🚀 Deploy Assets 🚀 Deploy GH Pages

🌀 Z Activity 🌀 Z Metrics 🌀 Z PageSpeed Insights 🌀 Z Reader

Github Actions & Workflows

The set of workflows and actions for the organization to leverage GitHub’s collaborative capabilities and allow everyone in your organization who has permission to create workflows to do so more quickly and easily.

Trunk

Get Started

Initialize it with (trunk init). All linters and formatters, as well as the version of Trunk itself, are versioned in .trunk/trunk.yaml (plugins).

  1. Install Trunk → curl https://get.trunk.io -fsSL | bash (docs)
  2. Setup Trunk in your repo → trunk init (docs)
  3. Locally check your changes for issues → trunk check (docs)
  4. Locally format your changes → trunk fmt (docs)
  5. Make sure no lint and format issues leak onto main

Example preset of .trunk/trunk.yaml:

Renovate Mend

Example preset of .github/renovate.json:

{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": ["local>z-shell/.github:renovate-config"]
}