Commit Graph
24 Commits
Author SHA1 Message Date
Josh Dales 56347d54a1 Add unit tests for toBranchMatchConfig 2023-02-21 08:30:24 -05:00
Josh Dales da83a1845f Make sure that the changed files config values are an array 2023-02-19 18:10:19 -05:00
Josh Dales ed31b27f2e Rename some functions and variables to match what they are doing 2023-02-19 16:46:14 -05:00
Josh Dales 09f085373a Fix some typos in the branch checks 2023-02-19 12:17:15 -05:00
Josh Dales 0eb9d49330 reverse the conditions of checkMatch 2023-01-29 15:58:23 -05:00
Josh Dales b071d82cb8 Run the build command 2023-01-29 15:09:44 -05:00
Josh Dales 7d175313b7 Update the labeler tests 2023-01-29 15:09:06 -05:00
Josh Dales 969899da68 Add the changedFiles key and update logic in labeler 2023-01-29 14:10:07 -05:00
Josh Dales 7a5c525049 Create new interfaces for MatchConfig 2023-01-28 23:14:53 -05:00
Josh Dales 922ffdf5ad Remove deprecated IMinimatch import from labeler.ts 2023-01-28 22:43:56 -05:00
Josh Dales 231de6bc24 Remove the branch option and replace with just head-branch and base-branch 2023-01-28 22:30:05 -05:00
Josh Dales 2daf35ae4b Add an extra test now that we can check the base branch 2023-01-28 18:08:48 -05:00
Josh Dales 0b6e68d75a Add options for getting the head or base branch 2023-01-28 17:57:52 -05:00
Josh Dales cd3a8df80d Create a test file for branch 2023-01-28 16:45:29 -05:00
Josh Dales 2343710777 Move all the branch checking into its own file 2023-01-28 15:58:00 -05:00
Josh Dales f2b2513f41 Update the matching to use a regexp rather than minimatch 2023-01-28 15:34:31 -05:00
Josh Dales 8c59eccb9d Rename the getBranchName helper 2023-01-28 15:14:15 -05:00
Josh Dales 765934f274 Run build 2021-08-07 15:26:22 -04:00
Josh Dales bce88a9ea3 Update new test description 2021-08-07 15:26:13 -04:00
Josh Dales a01b9aebb2 Add another test to make sure that partial branch naming works 2021-08-07 15:20:20 -04:00
Josh Dales ee0e0eb513 Add a new fixture and test for the branch checking 2021-08-07 15:12:02 -04:00
Josh Dales 6c50d09410 include checkBranch in checkMatch 2021-08-07 15:09:15 -04:00
Josh Dales ad73546cad Add function for checking branches 2021-08-07 15:07:47 -04:00
Josh Dales 2bf42e445d Add branch to MatchConfig interface 2021-08-07 15:06:24 -04:00