Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
20 lines
1.1 KiB
Markdown
20 lines
1.1 KiB
Markdown
# Contributing
|
|
|
|
- Open a pull request against `main`. Pull requests from forks need a
|
|
maintainer's approval before any workflow runs, and CI never receives secrets
|
|
on pull requests.
|
|
- Commit messages follow [Conventional Commits](https://www.conventionalcommits.org/)
|
|
(`feat:`, `fix:`, `docs:`, `ci:` ...). CI checks every commit.
|
|
- Every user-visible change needs a changelog fragment in `changelogs/fragments/`
|
|
(antsibull-changelog format, a YAML file with a section such as
|
|
`minor_changes:` or `bugfixes:`). Pure CI or docs changes use `trivial:`.
|
|
- Role variables carry the role name as a prefix (`<role>_<name>`).
|
|
- Third-party material needs an SPDX header and an entry in `NOTICE`.
|
|
- Set up the tooling with `pip install -r requirements-dev.txt` in a virtualenv,
|
|
then run `pre-commit install --install-hooks` once and
|
|
`pre-commit run --all-files` before pushing.
|
|
- Never commit credentials, tokens or key material.
|
|
- Releases are cut by the maintainer: bump `version` in `galaxy.yml`, run
|
|
`antsibull-changelog release` in a release PR, then push an annotated
|
|
`vX.Y.Z` tag.
|