-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Beta] Implement the new structure of the match object for the change…
…d-files section (#680) * Implement the new structure of the match object for changed files section * Replace inner loops with the find method
- Loading branch information
1 parent
4f05277
commit f4eefdc
Showing
8 changed files
with
612 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
label1: | ||
- any: | ||
- changed-files: ['glob'] | ||
- changed-files: | ||
- AnyGlobToAnyFile: ['glob'] | ||
- head-branch: ['regexp'] | ||
- base-branch: ['regexp'] | ||
- all: | ||
- changed-files: ['glob'] | ||
- changed-files: | ||
- AllGlobsToAllFiles: ['glob'] | ||
- head-branch: ['regexp'] | ||
- base-branch: ['regexp'] | ||
|
||
label2: | ||
- changed-files: ['glob'] | ||
- changed-files: | ||
- AnyGlobToAnyFile: ['glob'] | ||
- head-branch: ['regexp'] | ||
- base-branch: ['regexp'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
tests: | ||
- any: | ||
- head-branch: ['^tests/', '^test/'] | ||
- changed-files: ['tests/**/*'] | ||
- changed-files: | ||
- AnyGlobToAnyFile: ['tests/**/*'] | ||
- all: | ||
- changed-files: ['!tests/requirements.txt'] | ||
- changed-files: | ||
- AllGlobsToAllFiles: ['!tests/requirements.txt'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
touched-a-pdf-file: | ||
- changed-files: ['*.pdf'] | ||
- changed-files: | ||
- AnyGlobToAnyFile: ['*.pdf'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.