Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hardnorth/service-merge-validate

A service to validate and merge pull requests from GitHub Actions
https://github.com/hardnorth/service-merge-validate

actions github merge validate

Last synced: 21 days ago
JSON representation

A service to validate and merge pull requests from GitHub Actions

Awesome Lists containing this project

README

        

# service-merge-validate
A service to validate and merge pull requests from GitHub Actions

![CI Build](https://github.com/HardNorth/service-merge-validate/workflows/CI%20Build/badge.svg)

### Create service account
The service needs the following permissions:
- `Cloud Datastore User` role
- `Secret Manager` permissions:
- secretmanager.secrets.get
- secretmanager.secrets.create
- secretmanager.versions.access
- secretmanager.versions.add

### Build
```none
./mvnw package
```

### Deploy
```none
gcloud functions deploy service-merge-validate \
--entry-point=io.quarkus.gcp.functions.http.QuarkusHttpFunction \
--runtime=java11 --trigger-http --source=target/deployment --allow-unauthenticated \
--service-account={your_service_account}
```

### Set URLs in Github app
- Homepage
- Callback