Thank you for considering contributing to our project! Your help and involvement are highly appreciated. This guide will help you get started with the contribution process.
- Fork the Repository
- Clone Your Fork
- Create a New Branch
- Submitting Changes
- Create a Pull Request
- Coding Style
- Keep It Simple
Start by forking the repository. You can do this by clicking the "Fork" button in the upper right corner of the repository page. This will create a copy of the repository in your GitHub account.
Clone your newly created fork of the repository to your local machine with the following command:
git clone https://github.com/your-username/google-cloud-github-runner.gitCreate a new branch for the specific issue or feature you are working on. Use a descriptive branch name:
git checkout -b "feature-or-issue-name"Make your desired changes to the codebase.
Stage your changes using the following command:
git add .Commit your changes with a clear and concise commit message:
git commit -m "A brief summary of the commit."Go to your forked repository on GitHub and click on the "New Pull Request" button. This will open a new pull request to the original repository.
Please follow these coding style rules to ensure consistency and maintainability:
- Linter: Code must pass
flake8with the following settings:--max-line-length=127- Ignore
W292(no new line at end of file) andW503(line break before binary operator).
- Indentation: Use spaces.
- Formatting: No trailing whitespace.
- Format: Run
terraform fmt -recursiveon thegcpdirectory. - Linting & Security: Code should pass
tflintandtfsec. - Indentation: Use spaces.
- Linter: Check all scripts with
shellcheck. - Indentation: Use tabs.
Simplicity is key. When making changes, aim for clean, easy-to-understand code that benefits all users.
Thank you for your contribution! β€οΈ