Skip to content

Commit 20943ca

Browse files
authored
Merge pull request #6 from increments/fix-deploy-pr-handler
Fix a bug that deploy pr messages trigger other actions also
2 parents 05f491f + 4ef876b commit 20943ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/ruboty/github/actions/create_pull_request.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ def call
88
else
99
require_access_token
1010
end
11+
# Action handlers should return truthy value to tell ruboty that the given message has been handled.
12+
# Otherwise, ruboty tries to execute other handlers.
13+
true
1114
end
1215

1316
private

0 commit comments

Comments
 (0)