Code Monkey home page Code Monkey logo

Comments (11)

wei avatar wei commented on September 3, 2024 1

This is a GitHub limitation. Please use personal access token instead of GITHUB_TOKEN if you would like subsequent workflows to be executed.

from pull-request.

wei avatar wei commented on September 3, 2024 1

https://docs.github.com/en/actions/reference/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token

from pull-request.

satodaiki avatar satodaiki commented on September 3, 2024 1

@wei
thank you very much!

from pull-request.

satodaiki avatar satodaiki commented on September 3, 2024

@wei
Thank you!
By the way, where can I find the description of this specification in the official documentation?

from pull-request.

CreepyGnome avatar CreepyGnome commented on September 3, 2024

@wei when we use an org level token and set it to the github_token: ${{ secrets.OUR_ORG_TOKEN }} it doesn't work, is there anything else we have to set to use another token other than the GitHub one?

from pull-request.

wei avatar wei commented on September 3, 2024

I would try the token locally and debug from there.

from pull-request.

CreepyGnome avatar CreepyGnome commented on September 3, 2024

How can we try it locally? What does that mean for a GH Workflow?

from pull-request.

wei avatar wei commented on September 3, 2024

How can we try it locally? What does that mean for a GH Workflow?

@CreepyGnome You can make GitHub API requests with that token and see if GitHub throws any errs. You can also use hub using that token. It is likely that your token does not have the right permissions to create a pull request.

I don't think your issue is related to the original issue so please open a new issue with details for further assistance.

from pull-request.

CreepyGnome avatar CreepyGnome commented on September 3, 2024

We use this token in just about all our workflows for any time we need to trigger another workflow and we want the checks to run, so we know it works with GitHub API. Okay I will gather some more details and open new issue if our 4th attempt fails again.

from pull-request.

wei avatar wei commented on September 3, 2024

We use this token in just about all our workflows for any time we need to trigger another workflow and we want the checks to run, so we know it works with GitHub API. Okay I will gather some more details and open new issue if our 4th attempt fails again.

Thanks @CreepyGnome , I don't doubt it works with the API, I just want to make sure the token has the correct permission to perform the action (in this case create a PR). Please double check permissions granted on that token and error logs too ~ : D

from pull-request.

CreepyGnome avatar CreepyGnome commented on September 3, 2024

Yeah we use it with Peter Even's create PR action without issue so trying to use it with this one too. Again will create new issue.

from 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.