Skip to content

Error when generating release notes #47

Description

@stefanhendriks

I run into an interesting issue, perhaps someone can help/take a look?

Since the code is not available, I have to guess that the plugin fails due to pagination issues? Regardless, any help is appreciated.

I have verified the token works, and I can query issues with it.

I am using the action as following:

jobs:
  create-release-notes:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - name: Create Release Notes
        uses: docker://decathlon/release-notes-generator-action:3.0.1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          OUTPUT_FOLDER: temp_release_notes
          USE_MILESTONE_TITLE: "true"

This results in:

2026-03-06T10:48:26.5031305Z ##[command]/usr/bin/docker run --name decathlonreleasenotesgeneratoraction301_c54f06 --label f0152d --workdir /github/workspace --rm -e "GITHUB_TOKEN" -e "OUTPUT_FOLDER" -e "USE_MILESTONE_TITLE" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_RESULTS_URL" -e "ACTIONS_ORCHESTRATION_ID" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp":"/github/runner_temp" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/Dune-II---The-Maker/Dune-II---The-Maker":"/github/workspace" decathlon/release-notes-generator-action:3.0.1
2026-03-06T10:48:27.0268299Z �[0;34m
2026-03-06T10:48:27.0268969Z Open sourced by
2026-03-06T10:48:27.0274492Z ██████╗ ███████╗ ██████╗ █████╗ ████████╗██╗  ██╗██╗      ██████╗ ███╗   ██╗
2026-03-06T10:48:27.0275650Z ██╔══██╗██╔════╝██╔════╝██╔══██╗╚══██╔══╝██║  ██║██║     ██╔═══██╗████╗  ██║
2026-03-06T10:48:27.0277676Z ██║  ██║█████╗  ██║     ███████║   ██║   ███████║██║     ██║   ██║██╔██╗ ██║
2026-03-06T10:48:27.0278491Z ██║  ██║██╔══╝  ██║     ██╔══██║   ██║   ██╔══██║██║     ██║   ██║██║╚██╗██║
2026-03-06T10:48:27.0279260Z ██████╔╝███████╗╚██████╗██║  ██║   ██║   ██║  ██║███████╗╚██████╔╝██║ ╚████║
2026-03-06T10:48:27.0279952Z ╚═════╝ ╚══════╝ ╚═════╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═╝╚══════╝ ╚═════╝ ╚═╝  ╚═══╝
2026-03-06T10:48:27.0280482Z �[0mGetting Action Information
2026-03-06T10:48:27.2905496Z Checking for custom configuration...
2026-03-06T10:48:27.2906234Z Configuring the action using .github/release-notes.yml
2026-03-06T10:48:27.2906835Z Creating release notes for Milestone 4 into the v0.8.0.md file
2026-03-06T10:48:28.1058107Z 
2026-03-06T10:48:28.1062305Z   .   ____          _            __ _ _
2026-03-06T10:48:28.1063550Z  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
2026-03-06T10:48:28.1066189Z ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
2026-03-06T10:48:28.1066611Z  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
2026-03-06T10:48:28.1066999Z   '  |____| .__|_| |_|_| |_\__, | / / / /
2026-03-06T10:48:28.1067372Z  =========|_|==============|___/=/_/_/_/
2026-03-06T10:48:28.1125810Z  :: Spring Boot ::                (v2.4.1)
2026-03-06T10:48:28.1126404Z 
2026-03-06T10:48:28.2093819Z 2026-03-06 10:48:28.205  INFO 152 --- [           main] i.s.g.Application                        : Starting Application v0.0.6-SNAPSHOT using Java 1.8.0_212 on f0bf8bc54508 with PID 152 (/github-release-notes-generator.jar started by root in /github/workspace)
2026-03-06T10:48:28.2096762Z 2026-03-06 10:48:28.208  INFO 152 --- [           main] i.s.g.Application                        : No active profile set, falling back to default profiles: default
2026-03-06T10:48:28.9606449Z 2026-03-06 10:48:28.959  INFO 152 --- [           main] i.s.g.Application                        : Started Application in 1.241 seconds (JVM running for 1.665)
2026-03-06T10:48:30.2158844Z 2026-03-06 10:48:30.215  INFO 152 --- [           main] ConditionEvaluationReportLoggingListener : 
2026-03-06T10:48:30.2159385Z 
2026-03-06T10:48:30.2159732Z Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2026-03-06T10:48:30.2398976Z 2026-03-06 10:48:30.238 ERROR 152 --- [           main] o.s.boot.SpringApplication               : Application run failed
2026-03-06T10:48:30.2399970Z 
2026-03-06T10:48:30.2400623Z java.lang.IllegalStateException: Failed to execute ApplicationRunner
2026-03-06T10:48:30.2434434Z 	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:798) [spring-boot-2.4.1.jar!/:2.4.1]
2026-03-06T10:48:30.2437747Z 	at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:785) [spring-boot-2.4.1.jar!/:2.4.1]
2026-03-06T10:48:30.2439396Z 	at org.springframework.boot.SpringApplication.run(SpringApplication.java:333) [spring-boot-2.4.1.jar!/:2.4.1]
2026-03-06T10:48:30.2440856Z 	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1309) [spring-boot-2.4.1.jar!/:2.4.1]
2026-03-06T10:48:30.2442322Z 	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1298) [spring-boot-2.4.1.jar!/:2.4.1]
2026-03-06T10:48:30.2443765Z 	at io.spring.githubchangeloggenerator.Application.main(Application.java:33) [classes!/:0.0.6-SNAPSHOT]
2026-03-06T10:48:30.2444804Z 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_212]
2026-03-06T10:48:30.2445797Z 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_212]
2026-03-06T10:48:30.2447085Z 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_212]
2026-03-06T10:48:30.2448021Z 	at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_212]
2026-03-06T10:48:30.2449545Z 	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) [github-release-notes-generator.jar:0.0.6-SNAPSHOT]
2026-03-06T10:48:30.2450994Z 	at org.springframework.boot.loader.Launcher.launch(Launcher.java:107) [github-release-notes-generator.jar:0.0.6-SNAPSHOT]
2026-03-06T10:48:30.2452315Z 	at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) [github-release-notes-generator.jar:0.0.6-SNAPSHOT]
2026-03-06T10:48:30.2453604Z 	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88) [github-release-notes-generator.jar:0.0.6-SNAPSHOT]
2026-03-06T10:48:30.2455771Z Caused by: org.springframework.web.client.HttpClientErrorException$UnprocessableEntity: 422 Unprocessable Entity: [{"message":"Validation Failed","errors":[{"value":"Y3Vyc29yOnYyOpLPAAABmjs5dojO1SFgxw%3D%3D","resource":"Issue","field":"after","code":"invalid"}],"documentation_url":"https://docs.github.com/rest/issues/issues#list-repository-issues","status":"422"}]
2026-03-06T10:48:30.2458782Z 	at org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:141) ~[spring-web-5.3.2.jar!/:5.3.2]
2026-03-06T10:48:30.2460454Z 	at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:186) ~[spring-web-5.3.2.jar!/:5.3.2]
2026-03-06T10:48:30.2462047Z 	at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:125) ~[spring-web-5.3.2.jar!/:5.3.2]
2026-03-06T10:48:30.2463039Z 	at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63) ~[spring-web-5.3.2.jar!/:5.3.2]
2026-03-06T10:48:30.2463885Z 	at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:818) ~[spring-web-5.3.2.jar!/:5.3.2]
2026-03-06T10:48:30.2464889Z 	at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:776) ~[spring-web-5.3.2.jar!/:5.3.2]
2026-03-06T10:48:30.2465623Z 	at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710) ~[spring-web-5.3.2.jar!/:5.3.2]
2026-03-06T10:48:30.2466639Z 	at org.springframework.web.client.RestTemplate.getForEntity(RestTemplate.java:360) ~[spring-web-5.3.2.jar!/:5.3.2]
2026-03-06T10:48:30.2467469Z 	at io.spring.githubchangeloggenerator.github.service.GitHubService.getPage(GitHubService.java:107) ~[classes!/:0.0.6-SNAPSHOT]
2026-03-06T10:48:30.2468371Z 	at io.spring.githubchangeloggenerator.github.service.GitHubService.lambda$getPage$0(GitHubService.java:108) ~[classes!/:0.0.6-SNAPSHOT]
2026-03-06T10:48:30.2469224Z 	at io.spring.githubchangeloggenerator.github.service.Page.getNextPage(Page.java:51) ~[classes!/:0.0.6-SNAPSHOT]
2026-03-06T10:48:30.2470086Z 	at io.spring.githubchangeloggenerator.github.service.GitHubService.getAll(GitHubService.java:98) ~[classes!/:0.0.6-SNAPSHOT]
2026-03-06T10:48:30.2471029Z 	at io.spring.githubchangeloggenerator.github.service.GitHubService.getIssuesForMilestone(GitHubService.java:90) ~[classes!/:0.0.6-SNAPSHOT]
2026-03-06T10:48:30.2471963Z 	at io.spring.githubchangeloggenerator.ChangelogGenerator.getIssues(ChangelogGenerator.java:103) ~[classes!/:0.0.6-SNAPSHOT]
2026-03-06T10:48:30.2472794Z 	at io.spring.githubchangeloggenerator.ChangelogGenerator.generate(ChangelogGenerator.java:97) ~[classes!/:0.0.6-SNAPSHOT]
2026-03-06T10:48:30.2473581Z 	at io.spring.githubchangeloggenerator.CommandProcessor.run(CommandProcessor.java:56) ~[classes!/:0.0.6-SNAPSHOT]
2026-03-06T10:48:30.2474314Z 	at io.spring.githubchangeloggenerator.CommandProcessor.run(CommandProcessor.java:50) ~[classes!/:0.0.6-SNAPSHOT]
2026-03-06T10:48:30.2475039Z 	at io.spring.githubchangeloggenerator.CommandProcessor.run(CommandProcessor.java:44) ~[classes!/:0.0.6-SNAPSHOT]
2026-03-06T10:48:30.2475806Z 	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:795) [spring-boot-2.4.1.jar!/:2.4.1]
2026-03-06T10:48:30.2476512Z 	... 13 common frames omitted
2026-03-06T10:48:30.2476680Z 
2026-03-06T10:48:30.3536220Z Post job cleanup.
2026-03-06T10:48:30.4366801Z [command]/usr/bin/git version
2026-03-06T10:48:30.4406938Z git version 2.53.0

The most interesting bit IMO:

2026-03-06T10:48:30.2455771Z Caused by: org.springframework.web.client.HttpClientErrorException$UnprocessableEntity: 422 Unprocessable Entity: [{"message":"Validation Failed","errors":[{"value":"Y3Vyc29yOnYyOpLPAAABmjs5dojO1SFgxw%3D%3D","resource":"Issue","field":"after","code":"invalid"}],"documentation_url":"https://docs.github.com/rest/issues/issues#list-repository-issues","status":"422"}]
2026-03-06T10:48:30.2458782Z 	at org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:141) ~[spring-web-5.3.2.jar!/:5.3.2]

I am closing this milestone

Github action link

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions