Skip to content

feat: add a "Contribution" section to the README.md #483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

callogan
Copy link

Closes #464

Overview

Enhancing the README.md by adding a dedicated section that encourages and guides external contributors on how to contribute to the project.

Copy link
Author

@callogan callogan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Submit

Comment on lines +154 to +184

## 🤝 Contribution

We welcome all suggestions and improvements! If you have ideas, bug fixes, or new features, feel free to contribute.

### How to contribute:

1. **Fork** the repository.
2. **Create a new branch** for your feature or fix:
```bash
git checkout -b feature/your-feature
```
3. Make changes and commit them:
```bash
git commit -m "Added a new feature: your-feature"
```
4. Push the changes to your fork:
```bash
git push origin feature/your-feature
```
5. Create a Pull Request and describe the changes you made.

📋 Pull Request Guidelines:
* Write clean and readable code.
* Follow the existing code style of the project.
* Add comments and documentation if necessary.
* Ensure that your changes do not break existing functionality.

Other important statements are described here: [Contributing](CONTRIBUTING.md)

We appreciate your contribution! 🚀
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make a review, please

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I have left a review :) Let me know if you have any questions!

Copy link
Contributor

@erinecon erinecon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, thank you so much for your interest in adding to our documentation!

I see that you previously raised an issue, and I think it's a great point to emphasize that we are open to external contributions! Our documentation about contributing to the project has historically been located in CONTRIBUTING.md -- ultimately I would recommend that you move the bulk of your suggested text into CONTRIBUTING.md so all the contributing documentation lives together.

I left some comments, mostly nitpicks from my end :) please let me know if you have any questions or want to discuss further about my suggestion! Thanks again!

@@ -151,3 +151,34 @@ This repository contains the charm in the root directory and the Python package
* [Issues](https://github.com/canonical/github-runner-operator/issues)
* [Contributing](https://charmhub.io/github-runner/docs/how-to-contribute)
* [Matrix](https://matrix.to/#/#charmhub-charmdev:ubuntu.com)

## 🤝 Contribution
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## 🤝 Contribution
## Contribution

For consistency with the other section headers :)

```
5. Create a Pull Request and describe the changes you made.

📋 Pull Request Guidelines:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
📋 Pull Request Guidelines:
### Pull request guidelines


We welcome all suggestions and improvements! If you have ideas, bug fixes, or new features, feel free to contribute.

### How to contribute:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### How to contribute:
### How to contribute

```bash
git push origin feature/your-feature
```
5. Create a Pull Request and describe the changes you made.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
5. Create a Pull Request and describe the changes you made.
5. Create a pull request and describe the changes you made.

Comment on lines +159 to +180
### How to contribute:

1. **Fork** the repository.
2. **Create a new branch** for your feature or fix:
```bash
git checkout -b feature/your-feature
```
3. Make changes and commit them:
```bash
git commit -m "Added a new feature: your-feature"
```
4. Push the changes to your fork:
```bash
git push origin feature/your-feature
```
5. Create a Pull Request and describe the changes you made.

📋 Pull Request Guidelines:
* Write clean and readable code.
* Follow the existing code style of the project.
* Add comments and documentation if necessary.
* Ensure that your changes do not break existing functionality.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would move this text into CONTRIBUTING.md -- I think it would be a nice enhancement to what's already there!

Comment on lines +154 to +184

## 🤝 Contribution

We welcome all suggestions and improvements! If you have ideas, bug fixes, or new features, feel free to contribute.

### How to contribute:

1. **Fork** the repository.
2. **Create a new branch** for your feature or fix:
```bash
git checkout -b feature/your-feature
```
3. Make changes and commit them:
```bash
git commit -m "Added a new feature: your-feature"
```
4. Push the changes to your fork:
```bash
git push origin feature/your-feature
```
5. Create a Pull Request and describe the changes you made.

📋 Pull Request Guidelines:
* Write clean and readable code.
* Follow the existing code style of the project.
* Add comments and documentation if necessary.
* Ensure that your changes do not break existing functionality.

Other important statements are described here: [Contributing](CONTRIBUTING.md)

We appreciate your contribution! 🚀
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I have left a review :) Let me know if you have any questions!

@erinecon erinecon added the documentation Improvements or additions to documentation label Mar 13, 2025
@callogan
Copy link
Author

Hello, Erin.
Thank you for paying attention to my contribution effort!
Your suggestion sounds reasonable, and I think it will be great idea to keep all contribution instructions in one place.

So, now I would like to ask you, how should we proceed:

  1. to close this Pull request and related issue,
    or
  2. to keep this PR opened untill all necessary changes will be done?

@erinecon
Copy link
Contributor

Hello, Erin. Thank you for paying attention to my contribution effort! Your suggestion sounds reasonable, and I think it will be great idea to keep all contribution instructions in one place.

So, now I would like to ask you, how should we proceed:

  1. to close this Pull request and related issue,
    or
  2. to keep this PR opened untill all necessary changes will be done?

Hi Ruslan,

I just noticed that your commit wasn't signed, which is a requirement for contributing to this repository. I suggest that you close this PR and open a new one with your suggested changes in CONTRIBUTING.md -- I think it would be great for you to make the changes yourself 😄 . Please let me know if you have any questions or if I can help in any way! Thanks again for your interest in contributing to our documentation!

@yanksyoon
Copy link
Member

@callogan Hello! Thanks for creating this PR! Unfortunately, we require all contributions to have signed commits (https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits), would you like to re-create the PR? (our repository rules disable any force pushes so you might need to amend commits and sign them or - recreate the PR with signed commits).
@jdkandersson Tagging you here for external contribution reference which might benefit from allowing force pushes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve README.md: Contribution Guidelines Section
3 participants