Contributing

May 12, 2026 ยท View on GitHub

We're happy to receive feature requests and PRs. If your change is nontrivial, please open an issue to discuss the idea and implementation strategy before submitting a PR.

  1. Fork the repository.
  2. Create an upstream remote.
    $ git remote add upstream git@github.com:fastly/cli.git
    
  3. Create a feature branch.
  4. Write tests.
  5. Run the linter and formatter make all.
    1. You may need to install golangci-lint if you don't have it installed
  6. Add your changes to CHANGELOG.md in Commitizen style message
  7. Open a pull request against upstream main.
    1. Once you have marked your PR as Ready for Review please do not force push to the branch
  8. Celebrate :tada:!