Skip to content

Commit

Permalink
Run pipeline for merge requests
Browse files Browse the repository at this point in the history
* Run pipeline for merge requests
  • Loading branch information
mitchellhenke committed Nov 20, 2024
1 parent 5464e1d commit 96eccce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ variables:
default:
image: '${ECR_REGISTRY}/dashboard/ci:latest'

workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" || $CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web"
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH

stages:
- build
- test
Expand Down

0 comments on commit 96eccce

Please sign in to comment.