-
Notifications
You must be signed in to change notification settings - Fork 943
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into simplify-build
* main: Group log output on GitHub Actions (#4961) Reduce duplication in CI and CD workflows (#4982) Move instructions from the wiki to docs (#4957) Update documentation (#4981) Bump com.puppycrawl.tools:checkstyle in /dependencies/checkstyle (#4966) Bump isort from 5.12.0 to 5.13.0 in /dependencies/python (#4967) Bump pylint from 3.0.2 to 3.0.3 in /dependencies/python (#4968) Bump cfn-lint from 0.83.3 to 0.83.4 in /dependencies/python (#4969) Bump npm-groovy-lint from 13.0.0 to 13.0.2 in /dependencies (#4970) Bump typescript from 5.3.2 to 5.3.3 in /dependencies (#4972) Bump next from 14.0.3 to 14.0.4 in /dependencies (#4973) Bump react-redux from 9.0.1 to 9.0.3 in /dependencies (#4974) Bump renovate from 37.83.5 to 37.89.7 in /dependencies (#4975) Bump prettier from 3.1.0 to 3.1.1 in /dependencies (#4976) Bump stylelint-scss from 5.3.1 to 5.3.2 in /dependencies (#4977) Bump golang from 1.21.4-alpine to 1.21.5-alpine (#4978) Bump actions/stale from 8 to 9 (#4980)
- Loading branch information
Showing
29 changed files
with
601 additions
and
817 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,28 @@ | ||
# Contributing | ||
|
||
:wave: Hi there! | ||
We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great. | ||
|
||
## Submitting a pull request | ||
|
||
[Pull Requests][pulls] are used for adding new playbooks, roles, and documents to the repository, or editing the existing ones. | ||
|
||
**With write access** | ||
|
||
1. Clone the repository (only if you have write access) | ||
1. Create a new branch: `git checkout -b my-branch-name` | ||
1. Make your change | ||
1. Push and [submit a pull request][pr] | ||
1. Pat yourself on the back and wait for your pull request to be reviewed and merged. | ||
|
||
**Without write access** | ||
|
||
1. [Fork][fork] and clone the repository | ||
1. Create a new branch: `git checkout -b my-branch-name` | ||
1. Make your change | ||
1. Push to your fork and [submit a pull request][pr] | ||
1. Pat your self on the back and wait for your pull request to be reviewed and merged. | ||
|
||
Here are a few things you can do that will increase the likelihood of your pull request being accepted: | ||
We're thrilled that you'd like to contribute to this project. | ||
Your help is essential for keeping it great. | ||
|
||
- Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests. | ||
- Write [good commit messages](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html). | ||
|
||
Draft pull requests are also welcome to get feedback early on, or if there is something blocking you. | ||
|
||
- Create a branch with a name that identifies the user and nature of the changes (similar to `user/branch-purpose`) | ||
- Open a pull request | ||
|
||
### CI/CT/CD | ||
|
||
The **Super-Linter** has _CI/CT/CD_ configured utilizing **GitHub** Actions. | ||
## Submitting a pull request | ||
|
||
- When a branch is created and code is pushed, a **GitHub** Action is triggered for building the new **Docker** container with the new codebase | ||
- The **Docker** container is then ran against the _test cases_ to validate all code sanity | ||
- `.automation/test` contains all test cases for each language that should be validated | ||
- These **GitHub** Actions utilize the Checks API and Protected Branches to help follow the SDLC | ||
- When the Pull Request is merged to main, the **Super-Linter** **Docker** container is then updated and deployed with the new codebase | ||
- **Note:** The branch's **Docker** container is also removed from **DockerHub** to cleanup after itself | ||
We use [pull requests](https://github.com/super-linter/super-linter/pulls) to | ||
contribute new features, fixes, or documentation. | ||
|
||
## Releasing | ||
Here are a few things you can do that will increase the likelihood of your pull | ||
request being accepted: | ||
|
||
If you are the current maintainer of this action you can create releases from the `Release` page of the repository. | ||
- Keep your change as focused as possible. If there are multiple changes you | ||
would like to make that are not dependent upon each other, submit them as | ||
separate pull requests. | ||
- Write [descriptive commit messages](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html). | ||
|
||
- It will notify the issue it has seen the information and starts the Actions job | ||
- It will create a branch and update the `actions.yml` with the new version supplied to the issue | ||
- It will then create a PR with the updated code | ||
- It will then create the build the artifacts needed | ||
- it will then publish the release and merge the PR | ||
- A GitHub Action will Publish the Docker image to GitHub Package Registry once a Release is created | ||
- A GitHub Action will Publish the Docker image to Docker Hub once a Release is created | ||
Draft pull requests are also welcome to get feedback early on, or if there is | ||
something blocking you. | ||
|
||
## Resources | ||
|
||
- [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/) | ||
- [Using Pull Requests](https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests) | ||
- [GitHub Help](https://docs.github.com/en) | ||
|
||
[pulls]: https://github.com/super-linter/super-linter/pulls | ||
[pr]: https://github.com/super-linter/super-linter/compare | ||
[fork]: https://github.com/super-linter/super-linter/fork |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.