This is an automated email from the ASF dual-hosted git repository.

mintsweet pushed a commit to branch feat-dora-config
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit cd712db85cc1af157496f62821206922cca2ac0a
Author: mintsweet <0x1304...@gmail.com>
AuthorDate: Fri Sep 20 15:02:41 2024 +1200

    fix: cannot check in bitbucket cicd
---
 config-ui/src/plugins/register/bitbucket/transformation.tsx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/config-ui/src/plugins/register/bitbucket/transformation.tsx 
b/config-ui/src/plugins/register/bitbucket/transformation.tsx
index 5f1fe348a..60d1e1792 100644
--- a/config-ui/src/plugins/register/bitbucket/transformation.tsx
+++ b/config-ui/src/plugins/register/bitbucket/transformation.tsx
@@ -52,7 +52,7 @@ export const BitbucketTransformation = ({
     } else {
       setUseCustom(false);
     }
-  }, [transformation]);
+  }, []);
 
   const options = useMemo(() => {
     const disabledOptions = [
@@ -249,12 +249,14 @@ const renderCollapseItems = ({
                   }
                 />
                 <span>.</span>
+                <i style={{ color: '#E34040' }}>*</i>
                 <HelpTooltip content="View your Bitbucket Pipelines: 
https://support.atlassian.com/bitbucket-cloud/docs/view-your-pipeline/"; />
               </div>
-              <div style={{ margin: '8px 0', paddingLeft: 28 }}>
+              <div style={{ margin: '8px 0' }}>
                 <span>If the branch or the step also matches</span>
                 <Input
                   style={{ width: 200, margin: '0 8px' }}
+                  disabled={!transformation.deploymentPattern}
                   placeholder="(?i)(prod|release)"
                   value={transformation.productionPattern ?? ''}
                   onChange={(e) =>

Reply via email to