Thanks for your interest in contributing to the CPython Patch PR Action! This document outlines guidelines to help you get started.
- Fork the repository and clone it locally.
- Install Node.js 20.x or newer and npm 9.x or newer.
- Install dependencies with
npm installonce the action scaffold is available.
- Create feature branches from
mainwith a descriptive name. - Keep commits focused and provide meaningful messages.
- Open a pull request early for feedback. Draft PRs are welcome.
- Ensure automated tests and linters pass before requesting review.
- Run
npm run bundleand commit the generateddist/**output whenever you make changes that affect the action runtime.
We will adopt TypeScript and follow the formatting enforced by Prettier and ESLint once added. Please match the existing style for any files you edit.
Update relevant documentation (e.g. the README) when you introduce user-facing changes or new configuration options.