Instruction file imported from zpratt/lousy-agents (
.github/instructions/pipeline.instructions.md). Copyright stays with the author.
Pipeline Instructions
MANDATORY: After Modifying Workflows
Run these validation commands in order:
mise lint
Workflow Structure Requirements
- Every workflow MUST include test and lint jobs.
- Use official setup actions:
actions/checkout,actions/setup-node,actions/cache. - Prefer using
misefor installing tools and dependencies and scripts for verification.
Action Pinning Format
Pin ALL third-party actions to exact commit SHA with version comment:
# CORRECT format:
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
# INCORRECT formats (do NOT use):
uses: actions/checkout@v4 # ❌ version tag only
uses: actions/checkout@v4.1.1 # ❌ version tag only
uses: actions/checkout@main # ❌ branch reference
Before adding any action:
- Check GitHub for the LATEST stable version
- Find the full commit SHA for that version
- Add both SHA and version comment
Runner Requirements
| Workflow | Runner |
|---|---|
| Default (all workflows) | ubuntu-latest |
copilot-setup-steps.yml |
May use different runners as needed |