mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
Merge branch 'standalone_develop' of https://gitlink.org.cn/Trustie/forgeplus into standalone_develop
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
json.total_data @result_object[:total_data].to_i
|
||||
if @result_object[:data]["Runs"].present?
|
||||
json.runs @result_object[:data]["Runs"].each do |run|
|
||||
json.runs @result_object[:data]["Runs"].each_with_index.to_a do |run, index|
|
||||
json.num @result_object[:total_data].to_i - @begin_num - index
|
||||
json.workflow run["WorkflowID"]
|
||||
json.index run["Index"]
|
||||
json.title run["Title"]
|
||||
|
||||
@@ -17,23 +17,8 @@ on:
|
||||
- '.gitea/workflows/**'
|
||||
- '.github/workflows/**'
|
||||
<% end %>
|
||||
<%if node.name.to_s.include?("on-pull_request") && node.input_values.present? %>
|
||||
<%if node.name.to_s.include?("on-pull_request") %>
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
<% node.input_values.each_key do |key| %>
|
||||
<%=key %>:
|
||||
<% if node.input_values[key].blank? %>
|
||||
- '*'
|
||||
<% else %>
|
||||
<% node.input_values[key].to_s.split(",").each do |val| %>
|
||||
- <%=val %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
paths-ignore:
|
||||
- '.gitea/workflows/**'
|
||||
- '.github/workflows/**'
|
||||
<% end %>
|
||||
<%if node.name.to_s.include?("on-fork") %>
|
||||
fork:
|
||||
|
||||
Reference in New Issue
Block a user