Here are the basic steps to make a change and contribute it back to the project.
- Fork the Scalr/scalr-action repo.
- Make the changes and commit to your fork.
- Create a pull request.
We recommend using VS Studio Code to edit the code. As the Scalr Github Action is written in NodeJS, you will need to install Node somewhere in your PATH.
After you made you changes and committed back to github, you should run the Github Action called "Build dist files and release". You will be able to pick what version you want to release.
This will build and create a release that can be used for testing. To test, simply use the Action like you normally would, but change the "uses"-part to point at your own repo:
steps:
- uses: your-github-username/your-github-repo@your-version
We try to make it as easy and painless as possible to contribute back to the project. However, some minimal rules must be followed to keep the project in good shape and maintain quality.
-
Please sign the CLA and send it to support@scalr.com. This is required before we can merge any PRs.
-
Each pull request should contain only one bugfix/feature. If you want to add several features, please make individual pull requests for each one. Putting lots of changes in one single PR will make it harder for the maintainers to approve it, as all new changes will need to be tested and approved as a whole. Splitting it into individual requests makes it possible to approve some, while others can be pushed back for additional work.
-
Make sure that each commit has a clear and complete title and description on what has been fixed/changed/updated/added. As this will be used for building the release changelog, it's important that it's accurate and explains to the users what updating to this version will entail. Changes that breaks backwards compatibility is discouraged and needs a very strong reason to be approved.