Skip to content

Commit

Permalink
Upgrade depemdabot config
Browse files Browse the repository at this point in the history
  • Loading branch information
yannis committed Oct 22, 2023
1 parent 4606164 commit 531ce66
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ updates:
schedule:
interval: "weekly"
open-pull-requests-limit: 50
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
4 changes: 2 additions & 2 deletions app/views/kenshis/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<%= Kenshi.human_attribute_name(:team) %>
</div>
</div>
<% cup.team_categories.all.each do |c| %>
<% cup.team_categories.find_each do |c| %>
<% participation = f.object.participations.detect { |p| p.category == c }.presence || Participation.new(category: c) # rubocop:disable Lint/UselessAssignment %>
<%= f.fields_for :participations, participation do |g| %>
<% if participation.persisted? %>
Expand Down Expand Up @@ -152,7 +152,7 @@
</div>
</div>
<div class="mt-4 sm:mt-0 sm:col-span-2">
<% cup.individual_categories.all.each do |individual_category| %>
<% cup.individual_categories.find_each do |individual_category| %>
<div class="max-w-full space-y-4">
<div class="relative flex items-start mb-4">
<% participation = kenshi.participations.to_a.find { |p| p.category == individual_category } # rubocop:disable Lint/UselessAssignment %>
Expand Down

0 comments on commit 531ce66

Please sign in to comment.