You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 1, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: config.yml
+12-44Lines changed: 12 additions & 44 deletions
Original file line number
Diff line number
Diff line change
@@ -66,11 +66,8 @@ steps:
66
66
right: "approved"
67
67
- type: mergeBranch
68
68
head: game-instructions
69
-
- type: octokit
70
-
method: gitdata.deleteReference
71
-
owner: "%payload.repository.owner.login%"
72
-
repo: "%payload.repository.name%"
73
-
ref: heads/game-instructions
69
+
- type: deleteBranch
70
+
branch: game-instructions
74
71
- type: createPullRequest
75
72
title: Change Tetris Colors
76
73
body: 04_requesting-changes.md
@@ -107,11 +104,8 @@ steps:
107
104
- type: mergeBranch
108
105
head: add-multiple-colors
109
106
base: update-colors
110
-
- type: octokit
111
-
method: gitdata.deleteReference
112
-
owner: "%payload.repository.owner.login%"
113
-
repo: "%payload.repository.name%"
114
-
ref: heads/add-multiple-colors
107
+
- type: deleteBranch
108
+
branch: add-multiple-colors
115
109
- type: respond
116
110
with: 05_changes-requested.md
117
111
@@ -125,11 +119,8 @@ steps:
125
119
operator: ===
126
120
right: "approved"
127
121
- type: mergePullRequest
128
-
- type: octokit
129
-
method: gitdata.deleteReference
130
-
owner: "%payload.repository.owner.login%"
131
-
repo: "%payload.repository.name%"
132
-
ref: heads/update-colors
122
+
- type: deleteBranch
123
+
branch: update-colors
133
124
- type: respond
134
125
with: 08-suggest.md
135
126
data:
@@ -153,36 +144,13 @@ steps:
153
144
else:
154
145
type: respond
155
146
with: fix-body.md
156
-
- type: octokit
157
-
method: pullRequests.createComment
158
-
owner: "%payload.repository.owner.login%"
159
-
repo: "%payload.repository.name%"
160
-
number: "%payload.pull_request.number%"
161
-
path: README.md
162
-
body: |
163
-
```suggestion
164
-
You can play the game on the GitHub Pages site for this repository.
165
-
```
166
-
167
-
Thanks for opening this pull request, @%user.username%.
168
-
169
-
I've made a suggested change to this pull request because I think you should link your version of the game in your README file. I made this suggestion by creating a review comment that uses some :sparkle: special :sparkle: formatting.
170
-
It looks like this:
171
-
172
-
```suggestion
173
-
You can play the game on the GitHub Pages site for this repository.
174
-
```
175
-
176
-
### :keyboard: Activity: Apply the suggestion
177
-
178
-
1. Click **Apply suggestion**
179
-
2. Enter a commit message
180
-
3. Click **Commit changes**
181
-
182
-
For more information about suggest changes, check out this [GitHub Help](https://help.github.com/articles/incorporating-feedback-in-your-pull-request) article.
183
-
184
-
commit_id: "%payload.pull_request.head.sha%"
147
+
- type: createPullRequestComment
148
+
file: README.md
149
+
body: 08-suggest-pr.md
185
150
position: 5
151
+
data:
152
+
# !! We don't ask the learner to turn on pages, so this is just a guess and won't translate to GHES
Thanks for opening this pull request, @{{ user.username}}.
2
2
3
+
```suggestion
4
+
You can play the game at: {{ pagesUrl }}
5
+
```
6
+
3
7
I've made a suggested change to this pull request because I think you should link your version of the game in your README file. I made this suggestion by creating a review comment that uses some :sparkle: special :sparkle: formatting.
4
8
5
9
It looks like this:
6
10
7
-
```
8
-
```suggestion
9
-
You can play the game at: {{ pagesUrl }}
10
-
```
11
-
```
11
+
```suggestion
12
+
You can play the game at: {{ pagesUrl }}
13
+
```
14
+
15
+
### :keyboard: Activity: Apply the suggestion
16
+
17
+
1. Click **Apply suggestion**
18
+
2. Enter a commit message
19
+
3. Click **Commit changes**
12
20
13
21
For more information about suggested changes, check out this [GitHub Help](https://help.github.com/articles/incorporating-feedback-in-your-pull-request) article.
0 commit comments