Giter Site home page Giter Site logo

GitHub Actions can't create release: `ValueError: release id for tag <tag> not found, and could not be created` about python-semantic-release HOT 4 CLOSED

charlesthomas avatar charlesthomas commented on June 11, 2024
GitHub Actions can't create release: `ValueError: release id for tag not found, and could not be created`

from python-semantic-release.

Comments (4)

codejedi365 avatar codejedi365 commented on June 11, 2024

I don't think your token is being passed to the Action. See the 2 warnings in the logs about the empty or missing token.

I think you may need to remove the tool.semantic_release.remote.token configuration in project.toml for what the token value should be. I think it is conflicting with the action's parameter passing.

The token is required to write to the GitHub API which is how we create and write the release notes to the Releases section. This is the reason for the exception.

from python-semantic-release.

codejedi365 avatar codejedi365 commented on June 11, 2024

@charlesthomas, any update?

from python-semantic-release.

charlesthomas avatar charlesthomas commented on June 11, 2024

@charlesthomas, any update?

sorry, this is a personal side project. took me a while to get back to it.

... this was misconfiguration on my part.

although i completely missed the log line you pointed out. maybe that should be an error not a warning?

from python-semantic-release.

codejedi365 avatar codejedi365 commented on June 11, 2024

sorry, this is a personal side project. took me a while to get back to it.

No problem, glad it is resolved.

although i completely missed the log line you pointed out. maybe that should be an error not a warning?

Well likely not going to turn those specific warnings into errors for where they occur in the code but likely before you hit a line of code that needs a token it should be a captured error on our part. We have numerous control flows that never actually need the token that we don't want to break by creating an error so early in the execution.

from python-semantic-release.

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.