Skip to content

Commit c7cf2ba

Browse files
authored
Disallow rollup=never PRs and allow pending PRs to be rolled up
1 parent 27de04a commit c7cf2ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

homu/html/queue.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ <h1>Homu queue - {% if repo_url %}<a href="{{repo_url}}" target="_blank">{{repo_
166166
{% for state in states %}
167167
<tr class="{{state.greyed}}">
168168
<td class="hide">{{loop.index}}</td>
169-
<td><input type="checkbox" data-num="{{state.num}}" {{ '' if state.status == 'approved' else 'disabled' }}></td>
169+
<td><input type="checkbox" data-num="{{state.num}}" {{ '' if ((state.status == 'approved' or (state.status == 'pending' and !state.try_)) and state.rollup != 'never') else 'disabled' }}></td>
170170
{% if multiple %}
171171
<td><a href="{{state.repo_url}}">{{state.repo_label}}</a></td>
172172
{% endif %}

0 commit comments

Comments
 (0)