Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions docs/templates/CONTRIBUTING-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,23 @@ Read the [upstream CONTRIBUTING.md](https://github.com/GoCodeAlone/workflow/blob

## Local development

If you have a `go.work` file in a parent directory (common when working on
multiple GoCodeAlone repos side-by-side), use `GOWORK=off` so the plugin
builds against its own pinned `go.mod` rather than the workspace.

```sh
git clone https://github.com/GoCodeAlone/workflow-plugin-<name>.git
cd workflow-plugin-<name>
go build ./...
go test ./...
GOWORK=off go build ./...
GOWORK=off go test ./...
```

## Pull requests

- One feature or bugfix per PR.
- Update CHANGELOG.md with a Keep-a-Changelog entry.
- Add tests covering new behavior.
- Run `go vet ./...` before pushing.
- Run `GOWORK=off go vet ./...` before pushing.

## Reporting issues

Expand Down
Loading