Comments (9)
if you specify the tag it has to exist as tag. If the tag does not exist, you can pass in the git ref (commit sha) instead of the state you want to compare with.
The action fails as it tries to get the state from the toTag
you pass, which does not exist.
from release-changelog-builder-action.
@cYKatherine awesome news! glad I was able to help.
from release-changelog-builder-action.
Good day.
The action likely has no access to those tags. Which token do you provide for it to run?
Please also provide how you configure the action in your CI yaml file?
from release-changelog-builder-action.
Hello @mikepenz , thank you so much for the quick response!
name: Build Docker Changelog
id: github_release_docker
if: ${{ inputs.is_release == 'true' && inputs.publish_platform == 'Docker'}}
uses: mikepenz/release-changelog-builder-action@v4
with:
toTag: v${{ inputs.version_number_input }}
configurationJson: |
{
"template": "#{{CHANGELOG}}\n## Installation\n```\ndocker pull ${{ inputs.tags }}\n```\n\n## Image reference to deploy: \n```\n${{ inputs.image_tag }}\n```\n\n## Changelog\n#{{UNCATEGORIZED}}",
"pr_template": " - #{{TITLE}} - ( PR: ##{{NUMBER}} )"
}
env:
GITHUB_TOKEN: ${{ inputs.github_token }}
Above is my yaml file. I passed in the github_token
through inputs as there are several layers of call to pass this through. The github_token
value should be legit as I am able to do actions like docker/login-action@v3
using this value.
from release-changelog-builder-action.
Thank you.
Yes that should in general work.
The error is thrown by the code here:
And is usually giving Not found if the request does not succeed for the token:
the tags are on this repo you execute for? And the token should have read access to pull requests and commits?
In case, please validate the permissions are granted: https://github.com/mikepenz/release-changelog-builder-action?tab=readme-ov-file#token-permission
from release-changelog-builder-action.
In my action I have write permission to everything, that should imply read permission as well right?
runs-on: ubuntu-latest
permissions:
contents: write
security-events: write
packages: write
pull-requests: write
The tags are indeed on the repo I execute for:
Not really sure what else I'm missing 🤔
from release-changelog-builder-action.
Oh I maybe see it.
The action tries to get the diff for 0.10.10 to 0.10.16
However your screenshot shows a 0.10.4 and a 0.10.10 but no 0.10.16
from release-changelog-builder-action.
The v0.10.16
is the latest tag we are releasing to: toTag: v${{ inputs.version_number_input }}
, I don't think we need to have that to see the changelog?
from release-changelog-builder-action.
from release-changelog-builder-action.
Related Issues (20)
- Workflow not finishing: Resource not accessible by integration HOT 3
- commitMode: true still includes extra lines refering to pull request #0 HOT 3
- [Question] Ignore PR link Option HOT 1
- deactivate categories HOT 2
- Possible to use this with GitFlow methodology? HOT 2
- [Question]: How to properly extract text from BODY? HOT 5
- Question: Is it possible to filter labels/commits by path? HOT 7
- Feature request HOT 3
- use v4 gitea generate changelog fail HOT 5
- Missing PRs randomly in release notes HOT 5
- How to use this - set labels/use commits messages HOT 14
- Issue: Retrieving list of commits HOT 35
- can wildcards be used in FromTag ? HOT 5
- TO_TAG_DATE blank, and question about passing data HOT 31
- question: is `toTag` and `fromTag` inclusive? HOT 1
- Question: Ability to format markdown inside configurationJson HOT 7
- Changelog Template ignoring one particular entry HOT 9
- Author empty in commit mode HOT 8
- Regular failures when trying to fetch PR's HOT 5
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 release-changelog-builder-action.