Recued
Menu
← Back to recipes

Comment on a Bitbucket pull request

by recued-core v3 33 views

Use “Comment on a Bitbucket pull request” in Recued. It runs the Bitbucket Cloud pull request comment workflow with approval before changes are made.

How it works 9 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (9 steps)
■ workspace trim
Trim whitespace from setting workspace
■ repo_slug trim
Trim whitespace from setting repo slug
■ comment trim
Trim whitespace from setting comment
■ has_comment compare
Check if comment has data
◆ repository recued-core.bitbucket.repository.read
Read repository on bitbucket
◆ pull_request recued-core.bitbucket.pull_request.read
Read pull request on bitbucket
◆ created_comment recued-core.bitbucket.pull_request.comment.create
Create pull request comment on bitbucket
skip: step.has_comment not_equal true
■ skipped compare
Check if has comment does not equal true
■ card to_summary
Format results as a summary card
▼
Output
summary card
Settings 4 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

comment setting =
repo slug setting =
workspace setting =
pull request id setting = [object Object]

Uses (3 operations)

Pack operation Read repository on bitbucket recued-core.bitbucket.repository.read
Pack operation Read pull request on bitbucket recued-core.bitbucket.pull_request.read
Pack operation Create pull request comment on bitbucket recued-core.bitbucket.pull_request.comment.create

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Permissions it requires

Read your Bitbucket connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

About

Tags

bitbucket bitbucketpull-requestcommentcode-reviewapprovaldeveloper-workflowpack:bitbucket

Details

9 steps 4 configurable settings recipe_id: comment-pull-request-bitbucket