Sha256: f029de3c3130c3e7a3df40cb3702e7bdff4961013ca0fdc0372e12b7e761e023
Contents?: true
Size: 548 Bytes
Versions: 15
Compression:
Stored size: 548 Bytes
Contents
module Overlay class GithubController < Overlay::ApplicationController def update render nothing: true Overlay.configuration.repositories.each do |repo_config| next unless repo_config.class == GithubRepo branch = repo_config.branch if (params[:repository] && params[:ref]) if (params[:repository][:name] == repo_config.repo) && (params[:ref] == "refs/heads/#{branch}") Overlay::Github.instance.process_hook(params, repo_config) end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems