Comments (15)
Hi @Leafrostar,
Thank you for trying the task :)
Do you use Windows or Linux?
from azure-devops-create-pr-task.
I am using Windows. I am thinking is it because I don't have some necessary permission for PowerShell.
Because I don't have administrators permission.
from azure-devops-create-pr-task.
Is is Self hosted agent, right? If you login to the machine with the user that the build use, can you open PowerShell and run scripts?
Which Windows version is?
from azure-devops-create-pr-task.
I am not sure whether is Self hosted agent, will figure it out.
I can open PowerShell and run scripts (cannot run as administrator)
Windows version is Windows 10 Enterprise
from azure-devops-create-pr-task.
I found this in the jobs log:
Pool: Azure Pipelines
Image: ubuntu-latest
So that means it's Microsoft hosted agent and is Linux VM.
That's why I face this error.
from azure-devops-create-pr-task.
@Leafrostar exactly.
Try to change the pool to windows-latest
.
from azure-devops-create-pr-task.
Now I am facing:
##[error]{"message":"Draft pull requests are not supported in this repository.","documentation_url":"https://developer.github.com/v3/pulls/#create-a-pull-request"}
I didn't check "Create Draft Pull Request"
from azure-devops-create-pr-task.
Can you run the pipeline with the variable system.debug
= true
and share here the full log of the task?
from azure-devops-create-pr-task.
from azure-devops-create-pr-task.
Thank you!
You repo is a public repo or a private repo?
from azure-devops-create-pr-task.
It's private repo
from azure-devops-create-pr-task.
Ok, private repos support draft pull request only with GitHub Team and GitHub Enterprise Cloud and I send draft=false
so it fails.
I fix it now and I will update you soon :)
from azure-devops-create-pr-task.
Thank you!
from azure-devops-create-pr-task.
I fixed it :) - the new version is 1.2.41
Please try to run it now and check if it works.
from azure-devops-create-pr-task.
It's working now. Thank you for the fast response and fix.
from azure-devops-create-pr-task.
Related Issues (20)
- Does not work under Linux x64 agent HOT 1
- Running Task in self-managed agent behind a Proxy HOT 6
- Getting 403 Forbidden in the CreatePullRequestTask HOT 1
- Set the creator of the PR to the author of the commit instead of the Build Service User HOT 2
- Wildcard support in targetBranch HOT 7
- Create PR by other user than "project collection build service" HOT 9
- Running on Azure windows-latest agent pool still task is failing HOT 2
- Enhancement - Add work item via ID/URL HOT 1
- Getting error The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel HOT 13
- Automatically complete PR HOT 1
- 400 Bad Request to bypass PR policies HOT 4
- Feature request: add support for git tags
- Is "deleteSourch" a typo? HOT 1
- Version 1.2.363 breaks pipeline for branch with forward slash HOT 3
- Can't set Auto Complete to PR HOT 2
- Error (404) Not Found when adding reviewers on my PR (Azure DevOps) HOT 6
- alwaysCreatePr does not work HOT 1
- Use original git commit message as description (ADO) HOT 6
- Can't check "Delete Source Branch" when using "Bypass Policies" HOT 4
- Autocomplete option not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-devops-create-pr-task.