Horsty - Cyril - MagicToolsOriginal post
Rank 3: Container
Hello 🙂
I'm work with function and have a dedicated branch for them.
Inside the configuration tabs, i have setup specially which branch to use (show the screen)
But the issue is that on each commit to the main branch, i get a build that is trigger and failed. (screen 2 is on the main branch)
Why the main branch isn't exclude from trigger ? I'm expected to only my cloud-functions branch trigger build of appwrite function (screen 3 is on the cloud-functions branch)
screen 4 is the synthese on appwrite build screen, you can see the first trigger on the main it's failed and i'm expected to not see it.
Thanks
Summary
Developers set up a specific branch in Cloud Function configuration settings but on committing to the `main` branch, it triggers and fails. They want only the `cloud-functions` branch to trigger the build.
Solution: Double-check the exclusion settings for the `main` branch in the configuration to ensure it is properly configured to avoid triggering builds on that branch.