mirror of
https://github.com/actions/go-versions
synced 2024-11-24 20:22:40 +00:00
c455148af9
* migrated Go to GA * commented tests * commented tests * fixed upload * fixed trigger_pr * fixed trigger_pr * fixed tests * removed comment * updated build-go-packages and create-pr * update * updated helpers * fixed build-go-packages * updated build-go-packages.yml * updated build-go.ps1 * updated Go.Tests.ps1 * fixed tests * fixed go tests * fixed go tests * fixed tests * fixed "version is correct" test * updated "version is correct" test * fixed Invoke-Expression * Remove Create-ArtifactDirectories function * fixed tests * fixed tests * fix test * fixed trigger_pr * Update to Pester 5 * update * updated * fixed test * fixed tests * fixed tests Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
50 lines
2 KiB
Markdown
50 lines
2 KiB
Markdown
## Contributing
|
|
|
|
[fork]: https://github.com/actions/go-versions/fork
|
|
[pr]: https://github.com/actions/go-versions/compare
|
|
[code-of-conduct]: CODE_OF_CONDUCT.md
|
|
|
|
Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
|
|
|
|
Contributions to this project are [released](https://help.github.com/articles/github-terms-of-service/#6-contributions-under-repository-license) to the public under the [MIT](LICENSE.md).
|
|
|
|
Please note that this project is released with a [Contributor Code of Conduct][code-of-conduct]. By participating in this project you agree to abide by its terms.
|
|
|
|
## Submitting a pull request
|
|
|
|
1. [Fork][fork] and clone the repository
|
|
1. Create a new branch: `git checkout -b my-branch-name`
|
|
1. Make your changes
|
|
1. Push to your fork and [submit a pull request][pr]
|
|
1. Make sure that checks in your pull request are green
|
|
|
|
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
|
|
|
|
- Please include a summary of the change and which issue is fixed. Also include relevant motivation and context.
|
|
- Follow the style guide for [PowerShell](https://github.com/PoshCode/PowerShellPracticeAndStyle).
|
|
- Write [good commit messages](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
|
|
|
|
## Code structure
|
|
|
|
### Directory structure
|
|
```
|
|
|
|
├── .github/
|
|
| └──workflows/
|
|
├── builders/
|
|
├── helpers/
|
|
├── installers/
|
|
└── tests/
|
|
└──sources/
|
|
```
|
|
- `.github/workflows` - contains repository workflow files.
|
|
- `builders` - contains Go builder classes and functions.
|
|
- `helpers` - contains global helper classes and functions.
|
|
- `installers` - contains installation script templates.
|
|
- `tests` - contains test scripts. Required tests sources are located in `sources` subfolder.
|
|
|
|
## Resources
|
|
|
|
- [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/)
|
|
- [Using Pull Requests](https://help.github.com/articles/about-pull-requests/)
|
|
- [GitHub Help](https://help.github.com)
|