From 403395d7da269d255b50b833b67d1ad414ac0166 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 17 Jun 2022 18:23:53 -0500 Subject: [PATCH] Danger: try branch pipeline hack --- .gitlab-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 851eb0189..1f9ea7e0f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,10 +24,11 @@ deps: danger: stage: test - script: npx danger ci + script: + # https://github.com/danger/danger-js/issues/1029#issuecomment-998915436 + - export CI_MERGE_REQUEST_IID=${CI_OPEN_MERGE_REQUESTS#*!} + - npx danger ci cache: [] - only: - - merge_requests lint-js: stage: test