Comments (7)
I confirmed the fix works fine:
from changelog-from-release.
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.
@rhysd Just wanted to make sure this reached you. Thanks for any help you can give to make this work.
from changelog-from-release.
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.
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.
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.
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)
- Private repository does not work HOT 5
- Endless loop when more than one page of github releases HOT 8
- Use composite action instead of Docker action HOT 2
- Do not link references in link texts
- go install error HOT 6
- feature request: list releases with second level headings HOT 7
- Links don't follow the repository rename
- Github actions failed when the branch protection is on HOT 3
- Version 3.5.2 and up causes a 404 error HOT 5
- Disable automatic tag addition to title HOT 3
- 403 error with the Action HOT 5
- Update changelog before adding the release tag in Github action. HOT 2
- Replace issue numbers and user mentions with actual links HOT 1
- Could not get URL of remote 'master'
- No output after waiting several minutes HOT 2
- Credentials in the changelog HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from changelog-from-release.