Giter VIP home page Giter VIP logo

Comments (7)

rhysd avatar rhysd commented on July 22, 2024 2

I confirmed the fix works fine:

スクリーンショット 2021-02-24 23 12 03

from changelog-from-release.

rhysd avatar rhysd commented on July 22, 2024 1

8fda90bd61c92e fixed this issue and I release new version v2.2.1v2.2.2. Using rhysd/changelog-from-release/action@v2 now should work fine.

from changelog-from-release.

DavidCannon avatar DavidCannon commented on July 22, 2024

@rhysd Just wanted to make sure this reached you. Thanks for any help you can give to make this work.

from changelog-from-release.

bnzo avatar bnzo commented on July 22, 2024

Hey @DavidCannon, I was facing the same issue, same settings. I found a way to fix it with the following action. No need to setup a personal access token in my case. Hope it will work for you:

      - uses: rhysd/changelog-from-release/action@v2
        with:
          file: CHANGELOG.md
          github-token: ${{ secrets.GITHUB_TOKEN}}
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}

@rhysd this is a workaround as this generates the following warning:

Unexpected input(s) 'GITHUB_TOKEN', valid inputs are ['entryPoint', 'args', 'github-token', 'file', 'version', 'commit', 'push']

Hope that helps.

from changelog-from-release.

DavidCannon avatar DavidCannon commented on July 22, 2024

Hey @DavidCannon, I was facing the same issue, same settings. I found a way to fix it with the following action. No need to setup a personal access token in my case. Hope it will work for you:

Brilliant! That workaround fixed it. Thank you so much, @bnzo! 💯🥇

from changelog-from-release.

rhysd avatar rhysd commented on July 22, 2024

https://github.com/rhysd/changelog-from-release/blob/master/action/entrypoint.sh#L26

The line is here. I thought github-token input is mapped to INPUT_GITHUB_TOKEN env var, but I might misunderstand. I'll check behavior of input in GitHub's documentation.

from changelog-from-release.

rhysd avatar rhysd commented on July 22, 2024

Ah, I see, spaces in input names are replaced with _ but - is not.

https://github.com/rhysd/changelog-from-release/runs/1970182350?check_suite_focus=true#step:3:92

INPUT_GITHUB-TOKEN=***

From documentation https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions,

The environment variable created converts input names to uppercase letters and replaces spaces with _ characters.

from changelog-from-release.

Related Issues (17)

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.