Code Monkey home page Code Monkey logo

Comments (3)

peter-evans avatar peter-evans commented on June 16, 2024

I think this behaviour is due to the recent v2 release of actions/checkout. I notice you are following the master branch of checkout with actions/checkout@master, so you are now using v2.

I haven't completely figured out how these changes affect this action yet. Not sure if this will solve your issue, but what you could try is setting the PAT on the checkout, too.

    - uses: actions/checkout@v2
      with:
        token: ${{ secrets.PAT }}
        ref: master

from create-pull-request.

pauleve avatar pauleve commented on June 16, 2024

That has solved the issue, thank you very much!

from create-pull-request.

peter-evans avatar peter-evans commented on June 16, 2024

@pauleve Just to let you know that recent versions of the action have fixed this problem and it shouldn't be necessary to checkout using the PAT. The action will now correctly use the PAT passed to it to push.

    - uses: actions/checkout@v2

    # Make changes to pull request here

    - name: Create Pull Request
      uses: peter-evans/create-pull-request@v2
      with:
        token: ${{ secrets.PAT }}

from create-pull-request.

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.