You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
When a Pipeline was trigger, the Build Setup merges with destination branch head. PyLint broke in this case, as it checks something out of what has been modified, so how do I disable it?
Hello @Rodolfo dos Santos ,
Welcome to Atlassian Community!
The merge is happening because you are most likely using a Pull request triggered pipeline.
Pull request triggered pipelines behave a little differently than other types of pipelines, as it merges the destination branch into your working branch during the Build Setup. This is the intended behavior, as when you run a pull request pipeline you are usually interested to know if merging the content from the source and destination branches will break your build.
In case you do not want the merge to happen, you will need to use a different type of pipelines, such as branch pipelines. Branch pipelines will be triggered every time a new commit is pushed to a given branch or branch pattern you have configured, as in the below example :
- echo "This script runs on all branches that don't have any specific pipeline assigned in 'branches'."
- echo "This script runs only on commit to the main branch."
image: openjdk:8 # This step uses its own image
- echo "This script runs only on commit to branches with names that match the feature/* pattern."
Branches pipelines will run for a specific commit, and will not be merged to any other commit.
For more details on what types of pipeline triggers can be configured, you can refer to Pipelines start conditions.
Hope that helps! Let me know in case you have any questions.
Thank you, @Rodolfo dos Santos .