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

https://github.com/inloop/danger-gitlab


https://github.com/inloop/danger-gitlab

Last synced: 2 days ago
JSON representation

Awesome Lists containing this project

README

          

# danger-gitlab

Example `.gitlab-ci.yml` file:

```
stages:
- check

danger:
stage: check
image: inloopx/danger-gitlab
tags:
- docker
before_script:
- export CI_MERGE_REQUEST_ID=$(git ls-remote -q origin merge-requests\*\head | grep $CI_COMMIT_SHA | sed 's/.*refs\/merge-requests\/\([0-9]*\)\/head/\1/g')
- export CI_PROJECT_PATH=$CI_PROJECT_ID #some version of gitlab has problems with searching by project path
script:
- danger
```