Skip to content

Commit

Permalink
Limit CI pipelines on default branch and merge requests
Browse files Browse the repository at this point in the history
.gitlab-ci.yml:
Only run build pipelines on default branch and merge requests if they change code or profile files.
  • Loading branch information
dvzrv committed Jan 31, 2022
1 parent 549ce5b commit 5b95058
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 @@ -40,6 +40,9 @@ build_short:
- BUILD_SCRIPT_ARGS: baseline bootstrap
- BUILD_SCRIPT_ARGS: releng bootstrap
only:
refs:
- master
- merge_requests
changes:
- archiso/*
- configs/**/*
Expand All @@ -59,6 +62,9 @@ build_long:
tags:
- fast-single-thread
only:
refs:
- master
- merge_requests
changes:
- archiso/*
- configs/**/*
Expand Down

0 comments on commit 5b95058

Please sign in to comment.