We welcome contributions from the community to make Buildkite CLI, bk
, project even better.
To get started with contributing, please follow these steps:
- Fork the repository
- Create a feature branch with a nice name (
git checkout -b cli-new-feature
) for your changes - Write your code
- We use
golangci-lint
and would be good to use the same in order to pass a PR merge. You can usedocker-compose -f .buildkite/docker-compose.yaml run lint
for that. - Make sure the tests are passing by running go test ./...
- We use
- Commit your changes and push them to your forked repository.
- Submit a pull request with a detailed description of your changes and linked to any relevant issues.
The team maintaining this codebase will review your PR and start a CI build for it. For security reasons, we don't automatically run CI against forked repos, and a human will review your PR prior to its CI running.
If you encounter any issues or have suggestions for improvements, please open an issue on the GitHub repository. Provide as much detail as possible, including steps to reproduce the issue.
If we're really dragging our feet on reviewing a PR, please feel free to ping us through GitHub or Slack, or get in touch with [email protected], and they can bug us to get things done :)
Happy contributing!