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
The following commit(s) were added to refs/heads/feat-dora-config by this push:
new d7f8070fd fix: cannot check in bitbucket cicd
d7f8070fd is described below
commit d7f8070fdd220897b856ad9a4c848394bf13c169
Author: mintsweet <[email protected]>
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) =>