mirror of
https://github.com/actions/labeler.git
synced 2026-01-03 18:17:47 +08:00
Add some new tests
This commit is contained in:
14
__tests__/fixtures/all_options.yml
Normal file
14
__tests__/fixtures/all_options.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
label1:
|
||||
- any:
|
||||
- changed-files: ['glob']
|
||||
- head-branch: ['regexp']
|
||||
- base-branch: ['regexp']
|
||||
- all:
|
||||
- changed-files: ['glob']
|
||||
- head-branch: ['regexp']
|
||||
- base-branch: ['regexp']
|
||||
|
||||
label2:
|
||||
- changed-files: ['glob']
|
||||
- head-branch: ['regexp']
|
||||
- base-branch: ['regexp']
|
||||
@@ -1,3 +1,2 @@
|
||||
touched-a-pdf-file:
|
||||
- changed-files:
|
||||
- any: ['*.pdf']
|
||||
- changed-files: ['*.pdf']
|
||||
|
||||
Reference in New Issue
Block a user