Skip to content

Latest commit

 

History

History
80 lines (56 loc) · 3.2 KB

CONTRIBUTING.md

File metadata and controls

80 lines (56 loc) · 3.2 KB

Contributing to clippy GitHub Action

The following is a set of guidelines for contributing to the clippy GitHub Action.

Reporting bugs

Before creating bug reports, please check the GitHub issues list for Action you are using as you might find out that you don't need to create one.
When you are creating a bug report, please include as many details as possible.

Note: If you find a closed issue that seems like it is the same thing that you're experiencing,
open a new issue and include a link to the original issue in the body of your new one.

How do I submit a bug report?

Bugs are tracked as a GitHub issues in the corresponding Action repositories.

Explain the problem and include additional details to help maintainers reproduce the problem:

  1. Use a clear and descriptive title for the issue to identify the problem.
  2. Describe the exact steps which reproduce the problem in as many details as possible.
  3. Provide specific examples to demonstrate the steps. Include links to the workflow files (pointing to the specific commit, and not to the main branch) and attach step logs to the issue (consider enabling debug logs first).
  4. Describe the behavior you observed after following the steps and point out what exactly is the problem with that behavior.
  5. Explain which behavior you expected to see instead and why.

Feature requests

New ideas are welcomed!

Feature requests are also tracked as a GitHub issues in the corresponding Action repositories.

Explain the idea and include as many additional details as possible:

  1. Use a clear and descriptive title for the issue.
  2. Describe your motivation and how Rust community could benefit from this change.
  3. Provide workflow step examples, if applicable.
  4. Include links to the related tools, alternative implementations or any other information sources.

Backwards compatibility

Please note that maintaining backwards compatibility is critically important; any changes that require a new major version to be published will be postponed till there will be enough changes to make a new major release.

Pull Requests

Breaking changes

If your change introduces any new functionality or breaks the backwards compatibility in any matter - do not rush to create a Pull Request at all.

Do not waste your time on that, check Backwards compatibility section first for motivation, and create an issue first, explain why you want to make this change and let the discussion happen.

Open a Pull Request

The Code you are contributing should pass the following checks:

  1. Should change only one specific thing
  2. Not raising any compiler errors or warnings
    • do not use lint annotations to mask specific error
  3. Conforms to formatting rules (use npm run format command)
  4. Not raising any lint warnings (use npm run lint command)
  5. All tests should pass (use npm run test command)

Now create a GitHub Pull Request with a patch:

  1. Ensure the Pull Request description clearly describes the problem and solution
  2. Include the relevant issue number if applicable
  3. Ensure that all the checks from above are passing