Giter VIP home page Giter VIP logo

Comments (15)

shayki5 avatar shayki5 commented on June 23, 2024

Hi @Leafrostar,
Thank you for trying the task :)
Do you use Windows or Linux?

from azure-devops-create-pr-task.

Leafrostar avatar Leafrostar commented on June 23, 2024

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.

shayki5 avatar shayki5 commented on June 23, 2024

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.

Leafrostar avatar Leafrostar commented on June 23, 2024

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.

Leafrostar avatar Leafrostar commented on June 23, 2024

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.

shayki5 avatar shayki5 commented on June 23, 2024

@Leafrostar exactly.
Try to change the pool to windows-latest.

from azure-devops-create-pr-task.

Leafrostar avatar Leafrostar commented on June 23, 2024

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.

shayki5 avatar shayki5 commented on June 23, 2024

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.

Leafrostar avatar Leafrostar commented on June 23, 2024

log.txt

from azure-devops-create-pr-task.

shayki5 avatar shayki5 commented on June 23, 2024

Thank you!
You repo is a public repo or a private repo?

from azure-devops-create-pr-task.

Leafrostar avatar Leafrostar commented on June 23, 2024

It's private repo

from azure-devops-create-pr-task.

shayki5 avatar shayki5 commented on June 23, 2024

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.

Leafrostar avatar Leafrostar commented on June 23, 2024

Thank you!

from azure-devops-create-pr-task.

shayki5 avatar shayki5 commented on June 23, 2024

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.

Leafrostar avatar Leafrostar commented on June 23, 2024

It's working now. Thank you for the fast response and fix.

from azure-devops-create-pr-task.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.