Giter VIP home page Giter VIP logo

Comments (6)

saturnflyer avatar saturnflyer commented on August 19, 2024 5

Thanks for the update @levibostian

I'm trying this out on a private project with a bot account we use to share the PAT across our organization but the action just isn't running with that change. I'm fairly certain that I haven't set up permissions properly but debugging is difficult.
I'm poring over documentation about secrets/roles/permissions/etc but am commenting here hoping that someone has a straightforward explanation of how to set this up properly.

I'll comment again if I solve my problem.

EDIT: specifically I'm not seeing checks on my PRs but when I look at the Actions tab, I can see this action has failed but reports Could not resolve to a ProjectV2 with the number 9.
Is this a permissions problem?

from add-to-project.

levibostian avatar levibostian commented on August 19, 2024 2

This comment seems to suggest that, no, GITHUB_TOKEN cannot be used.

from add-to-project.

uhbif19 avatar uhbif19 commented on August 19, 2024 1

Cannot GITHUB_TOKEN be used for that?

from add-to-project.

omerbensaadon avatar omerbensaadon commented on August 19, 2024

Hey! Yes, one member needs to generate the token and add it as an organization Secret from the Repo settings page

from add-to-project.

omerbensaadon avatar omerbensaadon commented on August 19, 2024

Check out these docs on encrypted secrets: https://docs.github.com/en/actions/security-guides/encrypted-secrets

from add-to-project.

saturnflyer avatar saturnflyer commented on August 19, 2024

I'm curious about @uhbif19's question too, @omerbensaadon
Is it required that it be a personal access token and not the GITHUB_TOKEN?

from add-to-project.

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.