Files
add-and-commit/CONTRIBUTING.md
T
c38a33b50a fix: verify committed lib/ matches source in CI (#756)
* fix: verify committed lib/ matches source in CI

Add a post-build diff check so the shipped action bundle cannot drift from src without failing CI, even when local hooks are bypassed.

Co-authored-by: Cursor <cursoragent@cursor.com>

* chore: rebuild lib/ against lockfile for CI integrity check

Co-authored-by: Cursor <cursoragent@cursor.com>

* ci: tighten lib integrity check and workflow permissions

Detect untracked lib/ artifacts, drop checkout credentials, and document Node 24 for local builds.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 20:44:15 +00:00

973 B

Contributing

If you want to contribute to this project, check out these steps!

  1. Check out existing features to make sure your case is not already covered. Also, try searching open or closed issues that may cover the same topic.
  2. Either open a new issue or comment on an existing one to let everyone know what you're working on.
  3. Edit the source files to implement your feature or fix.
  4. On Node.js 24, build the action (npm ci && npm run build) and include any lib/ changes in your commit. With Husky installed, the pre-commit hook rebuilds and stages lib/ for you. CI fails if the committed lib/ does not match a clean rebuild. Then test the action in a test repo.
  5. Update the action manifest AND the README with your changes.
  6. Open a PR.

Thanks! 💖