Pull request cannot be activated
See original GitHub issueError: Message TF401398: The pull request cannot be activated because the source and/or the target branch no longer exists, or the requested refs are not branches
YAML:
steps:
- task: dependabot@1
inputs:
packageManager: "pip"
openPullRequestsLimit: 1
versioningStrategy: "auto"
targetBranch: development
Detailed Logs:
Digest: sha256:64616d4509746920bc7be0348e44a10b0d9ea6e9b87668b91dace9e5e933d1d9
Status: Downloaded newer image for tingle/dependabot-azure-devops:0.2
Using 'dev.azure.com' as hostname
Fetching pip dependency files for organisation/Kep/_git/Kep
Targeting 'development' branch under '/' directory
Using 'auto' versioning strategy
Parsing dependencies information
Checking if flask-appbuilder 3.1.1 needs updating
Requirements to unlock own
Updating flask-appbuilder from 3.1.1 to 3.2.0
Submitting flask-appbuilder pull request for creation. Failed! PR already exists or an error has occurred.
Status: 400.
Message TF401398: The pull request cannot be activated because the source and/or the target branch no longer exists, or the requested refs are not branches
Limit of open pull requests (1) reached.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
TF401398: The pull request cannot be activated because ...
TF401398: The pull request cannot be activated because the source and/or the target branch no longer exists, or the requested refs are not ......
Read more >Activating the Pull Requests · Issue #3004
Activating the Pull Requests and Issues extension failed. Please make sure you have git installed.
Read more >Pull Request cannot be merged, or not showing latest ...
Cause. Cause#1: The pull request is not up to date with the tip of the source branch, or the tip of the target...
Read more >Pull requests not triggering build - Build Environment
You can't trigger a build with a pull request unfortunately, not that I know of. The reason is, because there is no commit...
Read more >Azure DevOps Git REST API - Create Pull Request from tag
The pull request cannot be activated because the source and/or the target branch no longer exists, or the requested refs are not branches....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mburumaxwell -
Update:
The reason for above that there was repository existing with the name dependabot. After manually deleting the same and re-running the pipeline it seems to run just fine.
@mburumaxwell - Hey thanks for the guidance. I am marking this as closed 😃