
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
cinch-github_notifications
Advanced tools
This Cinch plugin will allow you to post to channels with notifications from github.
Add this line to your application's Gemfile:
gem 'cinch-github_notifications'
And then execute:
$ bundle
Add the plugin class to your bot setup and put some settings in there:
require 'cinch'
require 'cinch/plugins/github_notifications'
bot = Cinch::Bot.new do
configure do |c|
c.nick = "githubbot"
c.realname = "Tik-Tok"
c.server = "irc.freenode.net"
c.channels = %w{#channel1 #channel2}
c.plugins.plugins = [Cinch::Plugins::GithubNotifications::Poster]
c.plugins.options = {
Cinch::Plugins::GithubNotifications::Poster => {
:bot => self, # This is vital
:github_credentials => {
# These are the arguments to Octokit::Client.new
# You can use oauth tokens too
:login => "bob",
:password => "password"
},
:announce => {
# List of regular expressions matched against the repo the notification came from
# Notifications relating to repos with the name starting "jphastings/" should have events posted to #channel1
%r{^jphastings/} => %w{#channel1},
# All events will post to #channel2
%r{} => %w{#channel2}
}
}
}
end
end
bot.start
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)FAQs
Unknown package
We found that cinch-github_notifications demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.