Coder Social home page Coder Social logo

Comments (5)

kenorb avatar kenorb commented on August 28, 2024 1

I had to fix the branch name extraction which was used for the tag_name to not put spaces, e.g.

      - name: Get the current branch name
        shell: bash
        run: echo "##[set-output name=branch;]${GITHUB_REF#refs/heads/}"
        id: myref

then use: tag_name: ${{ steps.myref.outputs.branch }}-dev.

So this is basically duplicate of #52, happening when the tag name is invalid. Then the following jobs are basically rejecting further GitHub calls (sometimes without seeing "GitHub release failed with status" errors, because it's already invalid before the retrying loop even start).

from action-gh-release.

softprops avatar softprops commented on August 28, 2024

The "right way" might not be the most accurate way of phrasing the question.

I believe the rate limit for a given token its tied to a workflow run so its shared amongst all other steps and jobs without more context it's difficult to provide more advice.

I can say that this action is used in many repositories successfully.

Can you narrow down your usecase and maybe provide a bit more context?

from action-gh-release.

kenorb avatar kenorb commented on August 28, 2024

More context which I've found in another job:

⚠️ GitHub release failed with status: 422, retrying...
👩‍🏭 Creating new GitHub release for tag  v1.079-dev-beta...
⚠️ GitHub release failed with status: 422, retrying...
👩‍🏭 Creating new GitHub release for tag  v1.079-dev-beta...
⚠️ GitHub release failed with status: 422, retrying...
👩‍🏭 Creating new GitHub release for tag  v1.079-dev-beta...
⚠️ GitHub release failed with status: 403, retrying...
(and hundreds of more)
⚠️ Unexpected error fetching GitHub release for tag refs/heads/v1.079-dev: HttpError: API rate limit exceeded for installation ID 5238618.
##[error]API rate limit exceeded for installation ID 5238618.

I'm using softprops/action-gh-release@v1. See build 812351426.

I think it's looping and retrying too many times after 422 error.

from action-gh-release.

kenorb avatar kenorb commented on August 28, 2024

I think this is related to #52, but this time my release name is correct (I think).

    name: Development Release ( v1.079-dev)
    prerelease: true
    tag_name:  v1.079-dev-beta

Although there may be a whitespace before my tag, I'm going to check if I can remove it.

from action-gh-release.

softprops avatar softprops commented on August 28, 2024

Thanks for the extra info. That's be my bet. Does that tag exist?

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