GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - agent-sh/.github: Organization profile, shared templates, and reusable CI workflows

BranchesTags
Open more actions menu

Latest commit

 

History

27 Commits
27 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
profile
profile
 
 
scripts
scripts
 
 
workflow-templates
workflow-templates
 
 
CODEOWNERS
CODEOWNERS
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 

Repository files navigation

.github

Shared CI workflows, workflow templates, and scripts for the agent-sh organization.

Reusable Workflows

Located in .github/workflows/, these are called via workflow_call from individual repos.

ci-node.yml

Reusable Node.js CI workflow. Steps: checkout, setup Node, npm ci (npm install --no-save when there is no lockfile), run tests. Tests are skipped when package.json has no test script.

Inputs:

Input Default Description
node-version 24 Node.js version
test-command npm test Test command to run

Caller example:

jobs:
  ci:
    uses: agent-sh/.github/.github/workflows/ci-node.yml@main

ci-rust.yml

Reusable Rust CI workflow. Steps: checkout, install toolchain, cargo fmt --check, cargo clippy, cargo test.

Inputs:

Input Default Description
rust-version stable Rust toolchain version

Caller example:

jobs:
  ci:
    uses: agent-sh/.github/.github/workflows/ci-rust.yml@main

ci-agnix.yml

Reusable agnix workflow. Validates agent configs with the agnix action, reading .agnix.toml, and fails on errors. No inputs.

jobs:
  agnix:
    uses: agent-sh/.github/.github/workflows/ci-agnix.yml@main

codeql.yml

Reusable CodeQL analysis, one job per language.

Input Default Description
languages javascript-typescript Comma-separated CodeQL languages, e.g. javascript-typescript,python

sync-core.yml

Copies a lib directory from a source repo into each target repo and opens a PR where it changed.

Input Default Description
source-repo required Source repo (org/name)
target-repos required JSON array of agent-sh repo names
lib-path lib Path to the lib directory in the source

Needs a SYNC_TOKEN secret: a PAT with repo scope for the cross-repo PRs.

Workflow Templates

Located in workflow-templates/, these are available in the GitHub "New workflow" UI for org repos.

Template Description
ci-node.yml Thin caller for the reusable Node.js CI workflow
ci-rust.yml Thin caller for the reusable Rust CI workflow
claude-code-review.yml Automated PR review via Claude Code (owner/member/collaborator, max 3 runs per head commit)
claude-mentions.yml Respond to @claude mentions in issues and PRs

Scripts

setup-hooks.sh

Detects project type (Node.js or Rust) and installs the appropriate pre-push git hook.

sh scripts/setup-hooks.sh

rollout.sh

Rolls out CI workflows, Claude Code integrations, and hooks to the repos listed in the script (NODE_REPOS, RUST_REPOS) by creating PRs.

sh scripts/rollout.sh            # Create PRs
sh scripts/rollout.sh --dry-run  # Preview changes

Required Org Secrets

Secret Used By Purpose
CLAUDE_CODE_OAUTH_TOKEN claude-code-review, claude-mentions Authentication for Claude Code Action

Adoption

For new repos, either:

  1. Use the workflow templates from the GitHub UI ("Actions" > "New workflow")
  2. Add the repo to the lists in scripts/rollout.sh and run it
  3. Manually copy the caller workflow and scripts

After adding workflows, install the git hook locally:

sh scripts/setup-hooks.sh

About

Organization profile, shared templates, and reusable CI workflows

Topics

automationci-cddevopsgithubgithub-actionsgithub-organizationorganizationreusable-workflowstemplatesworkflow

Resources

Readme

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

4 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.