Sha256: bd894bee93e3593e24c3b564f88609e4fa41354e4b4ea410d8682b87b4038ab2
Contents?: true
Size: 538 Bytes
Versions: 10
Compression:
Stored size: 538 Bytes
Contents
# frozen_string_literal: true module Shipit module Webhooks module Handlers class CheckSuiteHandler < Handler params do requires :check_suite do requires :head_sha, String requires :head_branch, String end end def process stacks.where(branch: params.check_suite.head_branch).each do |stack| stack.commits.where(sha: params.check_suite.head_sha).each(&:schedule_refresh_check_runs!) end end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems