|
78 | 78 | action_id: fileContents |
79 | 79 | filename: 'config.yml' |
80 | 80 | - type: gate |
81 | | - left: '/^ repo: *lab-starter-template(?!#).*$/gm' |
| 81 | + left: '/^\s{2}repo: *lab-starter-template(?!#).*$/gm' |
82 | 82 | operator: test |
83 | 83 | right: '%actions.fileContents%' |
84 | 84 | else: |
@@ -108,7 +108,7 @@ steps: |
108 | 108 | action_id: fileContents |
109 | 109 | filename: 'config.yml' |
110 | 110 | - type: gate |
111 | | - left: '/^ name: *\w(?![ \t]*#).*$/gm' |
| 111 | + left: '/^\s{2}name: *\w(?![ \t]*#).*$/gm' |
112 | 112 | operator: test |
113 | 113 | right: '%actions.fileContents%' |
114 | 114 | else: |
@@ -233,7 +233,7 @@ steps: |
233 | 233 | action_id: fileContents |
234 | 234 | filename: 'config.yml' |
235 | 235 | - type: gate |
236 | | - left: '/^ description:(?![ \t]*#).*$/gm' |
| 236 | + left: '/^\s{2}description:(?![ \t]*#).*$/gm' |
237 | 237 | operator: test |
238 | 238 | right: '%actions.fileContents%' |
239 | 239 | else: |
@@ -263,7 +263,7 @@ steps: |
263 | 263 | action_id: fileContents |
264 | 264 | filename: 'config.yml' |
265 | 265 | - type: gate |
266 | | - left: '/^ event: *pull_request.opened(?!#).*$/gm' |
| 266 | + left: '/^\s{2}event: *pull_request.opened(?!#).*$/gm' |
267 | 267 | operator: test |
268 | 268 | right: '%actions.fileContents%' |
269 | 269 | else: |
@@ -293,7 +293,7 @@ steps: |
293 | 293 | action_id: fileContents |
294 | 294 | filename: 'config.yml' |
295 | 295 | - type: gate |
296 | | - left: '/^ - type: *gate(?!#).*$/gm' |
| 296 | + left: '/^\s{2}- type: *gate(?!#).*$/gm' |
297 | 297 | operator: test |
298 | 298 | right: '%actions.fileContents%' |
299 | 299 | else: |
@@ -347,7 +347,7 @@ steps: |
347 | 347 | # action_id: fileContents |
348 | 348 | # filename: 'config.yml' |
349 | 349 | # - type: gate |
350 | | - # left: '/^ left: *'%payload.pull_request.title%'(?!#).*$\n operator: *===(?!#).*$\n. right: *Add name to README(?!#).*$/gm' |
| 350 | + # left: '/^\s{2} left: *'%payload.pull_request.title%'(?!#).*$\n operator: *===(?!#).*$\n. right: *Add name to README(?!#).*$/gm' |
351 | 351 | # operator: test |
352 | 352 | # right: '%actions.fileContents%' |
353 | 353 | # else: |
@@ -389,7 +389,7 @@ steps: |
389 | 389 | action_id: fileContents |
390 | 390 | filename: 'config.yml' |
391 | 391 | - type: gate |
392 | | - left: '/^ - type: *respond(?!#).*$\n with: *pr-opened.md(?!#).*$/gm' |
| 392 | + left: '/^\s{2}- type: *respond(?!#).*$\n with: *pr-opened.md(?!#).*$/gm' |
393 | 393 | operator: test |
394 | 394 | right: '%actions.fileContents%' |
395 | 395 | else: |
|
0 commit comments