From 69d712ea15ae01a2cd19f7fd99f81a45d3a01fe1 Mon Sep 17 00:00:00 2001 From: Rodrigo Nardi Date: Mon, 30 Oct 2023 09:09:27 -0300 Subject: [PATCH 1/2] Help command Fixing rubocop issue --- lib/slack/slash_commands/bamboo_ci/help.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/slack/slash_commands/bamboo_ci/help.rb b/lib/slack/slash_commands/bamboo_ci/help.rb index 4137134..861066b 100644 --- a/lib/slack/slash_commands/bamboo_ci/help.rb +++ b/lib/slack/slash_commands/bamboo_ci/help.rb @@ -11,8 +11,7 @@ module Slack module BambooCi class Help - def self.text - ' + TEXT = ' /ci notify [all | errors | pass | off] is the PR number (or * for the off option) all: All finished runs @@ -52,6 +51,9 @@ def self.text /ci help (i.e this) ' + + def self.text + TEXT end end end From 43dc66e85d57ddb541253880a92a3c2b47c55273 Mon Sep 17 00:00:00 2001 From: Rodrigo Nardi Date: Mon, 30 Oct 2023 09:13:52 -0300 Subject: [PATCH 2/2] GitHub workflow Updating branch names --- .github/workflows/ruby.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index b828f4d..c91dbdc 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -9,9 +9,9 @@ name: Ruby on: push: - branches: [ "master" ] + branches: [ "main", "beta", "stable" ] pull_request: - branches: [ "master", "develop" ] + branches: [ "main", "beta", "stable" ] permissions: contents: read