gitea-pr-status/README.md

42 lines
831 B
Markdown
Raw Normal View History

2020-06-07 11:57:07 +00:00
# gitea-pr-status
Docker image for updating PR status in Gitea
## Features
2020-06-07 12:36:34 +00:00
## Usage
2020-06-07 11:57:07 +00:00
```sh
2020-06-07 12:36:34 +00:00
docker run --it \
-e GITEA_HOST=YOUR_GITEA_HOST \
-e ACCESS_TOKEN=YOUR_GITEA_ACCESS_TOKEN\
docker.cluster.fun/averagemarcus/gitea-pr-status \
"YOUR_USER/YOUR_REPO" \
"GIT_COMMIT_SHA" \
"PR_STATUS"
2020-06-07 11:57:07 +00:00
```
## Building from source
With Docker:
```sh
make docker-build
```
## Resources
2020-06-07 12:36:34 +00:00
* [API Documentation](https://try.gitea.io/api/swagger#/repository/repoCreateStatus)
2020-06-07 11:57:07 +00:00
## Contributing
If you find a bug or have an idea for a new feature please [raise an issue](/AverageMarcus/gitea-pr-status/issues/new) to discuss it.
Pull requests are welcomed but please try and follow similar code style as the rest of the project and ensure all tests and code checkers are passing.
Thank you 💛
## License
See [LICENSE](LICENSE)