Skip to content

Latest commit

 

History

History
72 lines (49 loc) · 1.7 KB

CONTRIBUTING.md

File metadata and controls

72 lines (49 loc) · 1.7 KB

Contributing

Getting Started

We'd love to accept your contributions to this project! If you are a first time contributor, please review our Contributing Guidelines before proceeding.

Prerequisites

Setup

  • Fork this repository

  • Clone this repository to your workstation:

# Clone the project
git clone git@github.com:go-vela/sdk-go.git $HOME/go-vela/sdk-go
  • Navigate to the repository code:
# Change into the project directory
cd $HOME/go-vela/sdk-go
  • Point the original code at your fork:
# Add a remote branch pointing to your fork
git remote add fork https://github.com/your_fork/sdk-go

Development

  • Navigate to the repository code:
# Change into the project directory
cd $HOME/go-vela/sdk-go
  • Write your code and tests to implement the changes you desire.

  • Run the repository tests (ensures your changes perform as you desire):

# Test the code with `go`
go test ./...
  • Ensure your code meets the project standards:
# Clean the code with `go`
go mod tidy
go fmt ./...
go vet ./...
  • Push to your fork:
# Push your code up to your fork
git push fork main
  • Make sure to follow our PR process when opening a pull request

Thank you for your contribution!