Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude specific branches detection not working in Amplify #5931

Closed
4 tasks done
ashokvaddevalli opened this issue Oct 22, 2024 · 4 comments
Closed
4 tasks done

Exclude specific branches detection not working in Amplify #5931

ashokvaddevalli opened this issue Oct 22, 2024 · 4 comments
Assignees
Labels
question General question

Comments

@ashokvaddevalli
Copy link

Before creating a new issue, please confirm:

On which framework/platform are you having an issue?

Other

Which UI component?

Account Settings, Other

How is your app built?

selvete

What browsers are you seeing the problem on?

No response

Which region are you seeing the problem in?

No response

Please describe your bug.

I am trying to exclude develop, release, prod branches and remaining all branches need to be detect in Amplify but it is not working exclude detect branches.

,!release,!prod,!develop (noticed after save it is moving automatically order like this !release,!prod,!develop,) - Not working exclude branches

"","!release","!develop","!prod" - Noticed after save it is changing order like this "!develop","!prod","!release","" - Not working exclude branches

How to exclude specific branches and remaining all branches need to include for auto detect in Amplify?

What's the expected behaviour?

I am trying to exclude develop, release, prod branches and remaining all branches need to be detect in Amplify but it is not working exclude detect branches.

,!release,!prod,!develop (noticed after save it is moving automatically order like this !release,!prod,!develop,) - Not working exclude branches

"","!release","!develop","!prod" - Noticed after save it is changing order like this "!develop","!prod","!release","" - Not working exclude branches

How to exclude specific branches and remaining all branches need to include for auto detect in Amplify?

Help us reproduce the bug!

I am trying to exclude develop, release, prod branches and remaining all branches need to be detect in Amplify but it is not working exclude detect branches.

,!release,!prod,!develop (noticed after save it is moving automatically order like this !release,!prod,!develop,) - Not working exclude branches

"","!release","!develop","!prod" - Noticed after save it is changing order like this "!develop","!prod","!release","" - Not working exclude branches

How to exclude specific branches and remaining all branches need to include for auto detect in Amplify?

Code Snippet

// Put your code below this line.

Console log output

No response

Additional information and screenshots

No response

@github-actions github-actions bot added pending-triage Issue is pending triage pending-maintainer-response Issue is pending response from an Amplify UI maintainer labels Oct 22, 2024
@cwomack cwomack self-assigned this Oct 22, 2024
@cwomack
Copy link
Member

cwomack commented Oct 22, 2024

Hello, @ashokvaddevalli 👋. Have you made any changes to the auto-build settings in the Amplify console under "App Settings"? Want to see if simply disabling the auto-build in this way is what you're looking for first:
Screenshot 2024-10-22 at 10 37 51 AM

@cwomack cwomack added the question General question label Oct 22, 2024
@github-actions github-actions bot removed the pending-maintainer-response Issue is pending response from an Amplify UI maintainer label Oct 22, 2024
@cwomack cwomack added pending-maintainer-response Issue is pending response from an Amplify UI maintainer pending-community-response Issue is pending response from the issue requestor or other community members and removed pending-triage Issue is pending triage pending-maintainer-response Issue is pending response from an Amplify UI maintainer labels Oct 22, 2024
@cwomack
Copy link
Member

cwomack commented Oct 22, 2024

Following up because I think we have a better idea of what you're looking for here, @ashokvaddevalli. Let me know if these Amplify Hosting docs help clarify how you can automatically add branches to Amplify. You can put together a regex pattern and if the git branch name matches the pattern specified, then a corresponding Amplify branch will be created.

Let me know if this helps further!

@ashokvaddevalli
Copy link
Author

Hi @cwomack Disable auto-build; it will not help and it will not delete already deployed branch after disable branch.
I don't see an option to exclude a specific branch for auto-detect and deployment.
For example, I want to exclude auto-detect for specific branches and remain all branches that need to be detect.
Is it work using this option *, !release, !pre, !prod, !main

@github-actions github-actions bot added pending-maintainer-response Issue is pending response from an Amplify UI maintainer and removed pending-community-response Issue is pending response from the issue requestor or other community members labels Oct 23, 2024
@cwomack
Copy link
Member

cwomack commented Oct 25, 2024

@ashokvaddevalli, thanks for following up with some clarity here. After reviewing it with our Hosting team internally and seeing that you've also got issue #2138 opened on the Hosting repo, we'll close out this one. Was going to transfer this over to that repo anyways, so you're in good hands over there!

We'll provide any updates and further follow up on that issue. Thanks!

@cwomack cwomack closed this as completed Oct 25, 2024
@github-actions github-actions bot removed the pending-maintainer-response Issue is pending response from an Amplify UI maintainer label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question General question
Projects
None yet
Development

No branches or pull requests

2 participants