Giter Club home page Giter Club logo

Comments (9)

blink1073 avatar blink1073 commented on August 11, 2024

I added the trusted publisher integration and the NPM token, working on admin github token now:

image

from jupyterlab-github.

blink1073 avatar blink1073 commented on August 11, 2024

Okay, should be ready:

image

from jupyterlab-github.

jtpio avatar jtpio commented on August 11, 2024

Thanks!

I'll try running the workflows now.

from jupyterlab-github.

jtpio avatar jtpio commented on August 11, 2024

Looks like the workflow was missing:

permissions:
      id-token: write

image

Will add it and start again.

from jupyterlab-github.

jtpio avatar jtpio commented on August 11, 2024

Now the error is:

requests.exceptions.HTTPError: 422 Client Error: Unprocessable Entity for url: https://pypi.org/_/oidc/github/mint-token

image

from jupyterlab-github.

fcollonval avatar fcollonval commented on August 11, 2024

This means that the package on PyPI is not configure to use a trusted publisher.

Someone with enough rights on https://pypi.org/project/jupyterlab-github/ should do it, or you should comment the id token and add a PyPI token.

from jupyterlab-github.

jtpio avatar jtpio commented on August 11, 2024

From #147 (comment):

I added the trusted publisher integration and the NPM token, working on admin github token now:
image

Could it be because of a workflow name mismatch?

from jupyterlab-github.

blink1073 avatar blink1073 commented on August 11, 2024

Yes, the workflow name must be the same, I updated it. The workflow also needs to be set to run in the release environment (which will have to be created and configured in the workflow):

image

from jupyterlab-github.

jtpio avatar jtpio commented on August 11, 2024

Thanks @blink1073!

Looks like it worked this time after adding the environment to the workflow (#152): https://pypi.org/project/jupyterlab-github/4.0.0/

Closing as fixed.

from jupyterlab-github.

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.