Skip to content

Commit

Permalink
feat(lift): added a lift export to define the branch pattern to verify
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Dec 31, 2020
1 parent 861a970 commit e2bc776
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export {default as scaffold} from './scaffolder';
export * from './lift';
1 change: 1 addition & 0 deletions src/lift/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {default as lift} from './lift';
8 changes: 8 additions & 0 deletions src/lift/lift-test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import {assert} from 'chai';
import lift from './lift';

suite('lift', () => {
test('that renovate branches are defined as branches to verify', () => {
assert.include(lift().branchesToVerify, 'renovate/**');
});
});
3 changes: 3 additions & 0 deletions src/lift/lift.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function () {
return {branchesToVerify: ['renovate/**']};
}

0 comments on commit e2bc776

Please sign in to comment.