Created
August 13, 2020 07:04
-
-
Save abhaybhargav/21ecdca8539daba794c283b092b3ddb6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| stages: | |
| - test | |
| run_python_mr_bot: | |
| image: python:3.7-stretch | |
| stage: test | |
| only: | |
| - merge_requests | |
| before_script: | |
| - apt update && apt-get install -y git sudo | |
| script: | |
| - sudo pip install GitlabMRScanner==0.0.3 | |
| - echo "{\"branch\":\"${CI_COMMIT_REF_NAME}\", \"token\":\"$PA_TOKEN\", \"project_id\":${CI_MERGE_REQUEST_PROJECT_ID}, \"hash\":\"${CI_COMMIT_SHORT_SHA}\", \"pr_id\":${CI_MERGE_REQUEST_IID}}" > config.json | |
| - mr-bot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment