Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 9ca9dca

Browse files
authored
Merge pull request #9 from githubtraining/response-changes
Add more response edits
2 parents a347553 + 41dfa9b commit 9ca9dca

2 files changed

Lines changed: 23 additions & 8 deletions

File tree

config.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ steps:
8181
action_id: fileContents
8282
filename: 'config.yml'
8383
- type: gate
84-
left: '/^ repo: *lab-starter-template(?!#).*$/gm'
84+
left: '/^\s{2}repo: *lab-starter-template(?!#).*$/gm'
8585
operator: test
8686
right: '%actions.fileContents%'
8787
else:
@@ -111,7 +111,7 @@ steps:
111111
action_id: fileContents
112112
filename: 'config.yml'
113113
- type: gate
114-
left: '/^ name: *\w(?![ \t]*#).*$/gm'
114+
left: '/^\s{2}name: *\w(?![ \t]*#).*$/gm'
115115
operator: test
116116
right: '%actions.fileContents%'
117117
else:
@@ -238,7 +238,7 @@ steps:
238238
action_id: fileContents
239239
filename: 'config.yml'
240240
- type: gate
241-
left: '/^ description:(?![ \t]*#).*$/gm'
241+
left: '/^\s{2}description:(?![ \t]*#).*$/gm'
242242
operator: test
243243
right: '%actions.fileContents%'
244244
else:
@@ -268,7 +268,7 @@ steps:
268268
action_id: fileContents
269269
filename: 'config.yml'
270270
- type: gate
271-
left: '/^ event: *pull_request.opened(?!#).*$/gm'
271+
left: '/^\s{2}event: *pull_request.opened(?!#).*$/gm'
272272
operator: test
273273
right: '%actions.fileContents%'
274274
else:
@@ -298,7 +298,7 @@ steps:
298298
action_id: fileContents
299299
filename: 'config.yml'
300300
- type: gate
301-
left: '/^ - type: *gate(?!#).*$/gm'
301+
left: '/^\s{2}- type: *gate(?!#).*$/gm'
302302
operator: test
303303
right: '%actions.fileContents%'
304304
else:
@@ -315,7 +315,7 @@ steps:
315315
path: config.yml
316316
body: |
317317
```suggestion
318-
left: # replace me without spaces: ' % payload.pull_request.title % '
318+
left: # replace me actual symbols and no spaces: 'percent payload.pull_request.title percent'
319319
```
320320
position: 41
321321
- type: octokit
@@ -352,7 +352,7 @@ steps:
352352
# action_id: fileContents
353353
# filename: 'config.yml'
354354
# - type: gate
355-
# left: '/^ left: *'%payload.pull_request.title%'(?!#).*$\n operator: *===(?!#).*$\n. right: *Add name to README(?!#).*$/gm'
355+
# left: '/^\s{4}left: *'%payload.pull_request.title%'(?!#).*$\n operator: *===(?!#).*$\n. right: *Add name to README(?!#).*$/gm'
356356
# operator: test
357357
# right: '%actions.fileContents%'
358358
# else:
@@ -396,7 +396,7 @@ steps:
396396
action_id: fileContents
397397
filename: 'config.yml'
398398
- type: gate
399-
left: '/^ - type: *respond(?!#).*$\n with: *pr-opened.md(?!#).*$/gm'
399+
left: '/^\s{2}- type: *respond(?!#).*$\n with: *pr-opened.md(?!#).*$/gm'
400400
operator: test
401401
right: '%actions.fileContents%'
402402
else:

responses/congratulations.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Nice work!
2+
3+
![celebrate](https://octodex.github.com/images/Professortocat_v2.png)
4+
5+
You merged and this course is now complete! I'll stop responding but the fun doesn't have to stop here.
6+
7+
## Want to keep learning?
8+
9+
In this repository:
10+
11+
12+
Outside of this repository:
13+
14+
15+
Now...[what will you learn next]({{ host }}/courses)?

0 commit comments

Comments
 (0)