A simple pull request approval system
Перейти к файлу
Renan Husson 6fe8830276
Enable & fix lint (#60)
* fix: lint

fix: lint

fix: lint

* Enable lint

* fix: add curl
2021-10-06 17:25:55 -04:00
.github Replace pull request with issue at issue_template (#24) 2016-12-31 22:43:42 +08:00
api go fmt 2020-12-06 16:45:05 +01:00
cache Enable & fix lint (#60) 2021-10-06 17:25:55 -04:00
model Enable & fix lint (#60) 2021-10-06 17:25:55 -04:00
notifier Regenerated mocks 2016-11-15 10:36:07 +01:00
remote Enable & fix lint (#60) 2021-10-06 17:25:55 -04:00
router go fmt 2020-12-06 16:45:05 +01:00
shared migrate to golang-jwt (#58) 2021-10-05 22:06:38 +02:00
store Enable & fix lint (#60) 2021-10-06 17:25:55 -04:00
vendor migrate to golang-jwt (#58) 2021-10-05 22:06:38 +02:00
version initial commit 2016-04-18 21:22:23 -07:00
web Enable & fix lint (#60) 2021-10-06 17:25:55 -04:00
.dockerignore Added docker maintainer and minor refinement (#19) 2016-12-03 14:43:20 +08:00
.drone.yml Enable & fix lint (#60) 2021-10-06 17:25:55 -04:00
.editorconfig switch gitter to discord for drone. (#31) 2017-06-16 10:50:54 +08:00
.gitignore Upgrade GitHub API to V3 (#36) 2017-12-28 08:28:22 -06:00
.lgtm chore: update lgtm pattern. 2018-01-03 10:02:51 +08:00
CONTRIBUTING.md Update contributing & maintainers file (#28) 2017-01-25 10:32:27 +08:00
DCO Added DCO file 2016-11-14 08:29:04 +01:00
Dockerfile rebuild for alpine & use v3.12 alpine (#50) 2020-12-06 13:48:58 -05:00
Dockerfile.rpi Upgrade GitHub API to V3 (#36) 2017-12-28 08:28:22 -06:00
LICENSE Use the same LICENSE format as the other projects 2016-11-28 14:37:59 +01:00
MAINTAINERS Add delvh to MAINTAINERS (#55) 2021-09-29 13:04:35 +02:00
Makefile Update drone (#44) 2020-12-07 00:28:07 +08:00
README.md fix: [ci skip] update release badge 2017-12-31 15:34:26 +08:00
go.mod migrate to golang-jwt (#58) 2021-10-05 22:06:38 +02:00
go.sum migrate to golang-jwt (#58) 2021-10-05 22:06:38 +02:00
main.go go fmt 2020-12-06 16:45:05 +01:00

README.md

LGTM

Build Status Join the Discord chat at https://discord.gg/NsatcWJ Join the Matrix chat at https://matrix.to/#/#gitea:matrix.org codecov Go Report Card GoDoc GitHub release

LGTM is a simple pull request approval system using GitHub protected branches and maintainers files or maintainers groups. Pull requests are locked and cannot be merged until the minimum number of approvals are received. Project maintainers can indicate their approval by commenting on the pull request and including LGTM (looks good to me) in their approval text.

Install

You can download prebuilt binaries from the GitHub releases or from our download site. You are a Mac user? Just take a look at our homebrew formula. If you have questions that are not covered by the documentation, you can get in contact with us on our Discord server, Matrix room, or forum!. If you find a security issue please contact security@gitea.io first.

Development

Make sure you have a working Go environment, for further reference or a guide take a look at the install instructions. As this project relies on vendoring of the dependencies and we are not exporting GO15VENDOREXPERIMENT=1 within our makefile you have to use a Go version >= 1.6. It is also possible to just simply execute the go get github.com/go-gitea/lgtm command, but we prefer to use our Makefile:

go get -d github.com/go-gitea/lgtm
cd $GOPATH/src/github.com/go-gitea/lgtm
make clean build

bin/lgtm -h

Docker

A Docker Image is available for easy deployment. It can be run locally or on a dedicated Server as follows:

docker run --name lgtm -v /my/host/path:/var/lib/lgtm:z -e GITHUB_CLIENT= -e GITHUB_SECRET= -p 8000:8000 gitea/lgtm

To Fill the Environment Variables GITHUB_CLIENT and GITHUB_SECRET, create new OAuth Application here

To Build the Image by yourself please refere to the Dockerfile and the Drone Configuration.

Contributing

Fork -> Patch -> Push -> Pull Request

Authors

License

This project is under the Apache-2.0 License. See the LICENSE file for the full license text.

Copyright (c) 2018 The Gitea Authors <https://gitea.io>