-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from smartcontractkit/ggoh/doc-day/readme
docs: update readme & added contributing.md
- Loading branch information
Showing
4 changed files
with
101 additions
and
41 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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Contributing to Chainlink Protos | ||
|
||
<!-- TOC --> | ||
|
||
- [Team Overview](#team-overview) | ||
- [How to Contribute](#how-to-contribute) | ||
- [Filing a PR on smartcontractkit/spec-generator](#filing-a-pr-on-smartcontractkitspec-generator) | ||
- [Preparing a release](#preparing-a-release) | ||
- [Merging Version Packages PR](#merging-version-packages-pr) | ||
|
||
<!-- TOC --> | ||
|
||
## Team Overview | ||
|
||
The Deployment Automation team is responsible for the development and maintenance of this repo. The GitHub | ||
team [@smartcontractkit/deployment-automation](https://github.com/orgs/smartcontractkit/teams/deployment-automation) | ||
are the primary code owners and reviewers for this repo. | ||
|
||
## How to Contribute | ||
|
||
To contribute, you must: | ||
|
||
- Open a pull request (PR) with your changes. | ||
- Request a review from the Deployment Automation | ||
team ([@smartcontractkit/deployment-automation](https://github.com/orgs/smartcontractkit/teams/deployment-automation)) | ||
to | ||
ensure adherence to code and design standards. | ||
- Ensure your PR passes all continuous integration checks and adheres to the contribution guidelines specific to each | ||
repository. | ||
|
||
### Filing a PR on smartcontractkit/chainlink-protos | ||
|
||
Before creating a PR with your change, you should generate a "changeset" file. | ||
|
||
Let's assume that you've made some local changes. | ||
Before filing a PR you need to generate a "changeset" description required for | ||
the automated release process. Follow the steps below: | ||
|
||
- Run `pnpm changeset` in the git top level directory. | ||
- Answer remaining questions. At the end, you will have a new | ||
`.changeset/<random-name>.md` file generated. | ||
- Now you need to commit and push your changes | ||
- Create a Pull request which includes your code change and generated | ||
"changeset" file. | ||
|
||
### Preparing a release | ||
|
||
After merging your PR, a changesets CI job will create or update a "Version Packages" PR | ||
like [this one](https://github.com/smartcontractkit/chainlink-protos/pull/31) which contains a release bump. | ||
|
||
### Merging Version Packages PR | ||
|
||
Now you can Approve/Request approval and Merge the PR from the previous step. After merging, it will kick off the | ||
release workflow and that will release a new version and push tags automatically. You can navigate to | ||
the [tag view](https://github.com/smartcontractkit/chainlink-protos/tags), to check if the latest release is | ||
available. |
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