Skip to content

Commit

Permalink
Merge pull request #2 from RodrigoMNardi/feature/ci_help
Browse files Browse the repository at this point in the history
Help command
  • Loading branch information
RodrigoMNardi authored Oct 30, 2023
2 parents ee29eec + 43dc66e commit c98afbe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions lib/slack/slash_commands/bamboo_ci/help.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
module Slack
module BambooCi
class Help
def self.text
'
TEXT = '
/ci notify <pr> [all | errors | pass | off]
<pr> is the PR number (or * for the off option)
all: All finished runs
Expand Down Expand Up @@ -52,6 +51,9 @@ def self.text
/ci help
(i.e this)
'

def self.text
TEXT
end
end
end
Expand Down

0 comments on commit c98afbe

Please sign in to comment.