Skip to content

Sync: stefanbuck/github-issue-parser@cb6e971#7

Open
forklebot[bot] wants to merge 6 commits into
mainfrom
sync/cb6e971
Open

Sync: stefanbuck/github-issue-parser@cb6e971#7
forklebot[bot] wants to merge 6 commits into
mainfrom
sync/cb6e971

Conversation

@forklebot
Copy link
Copy Markdown

@forklebot forklebot Bot commented Apr 26, 2026

Sync Upstream Changes

This pull request applies all changes from the upstream repository stefanbuck/github-issue-parser up to and including commit cb6e971.

This ensures that rmd-actions/github-issue-parser is up to date with the latest changes from upstream.


🤖 This pull request was managed through automation. Please do not modify or close this PR manually.

dependabot Bot and others added 6 commits April 3, 2026 13:17
Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) from 30.2.0 to 30.3.0.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v30.3.0/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-version: 30.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 2 to 3.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](actions/create-github-app-token@v2...v3)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This action now uses Node 24 as runner. We also converted it to ESM and updated to latest @actions/core
## [3.2.4](stefanbuck/github-issue-parser@v3.2.3...v3.2.4) (2026-04-22)

### Bug Fixes

* update action runner to node 24 ([stefanbuck#105](stefanbuck#105)) ([996e85a](stefanbuck@996e85a))
Current body parsing logic with trim() + split("###") is too fragile and
pose problems with some body that contains case with ### in the middle
of the line or case with codeblock ``` section.

These case will cause the script to parse these as separate section and
produce wrong outputs and in some case even prints error assuming things
are checkbox and errors out on the concat function.

To make the parsing logic more solid, implement a dedicated function and
parse with this logic:
- We split the body for "\n"
- We ignore codeblock ``` section
- We check "###" only at the start of the line
- We check for "### " (with the space included) as that is the correct
  section Github issue template expects.

With the following change case like:
```
root@OpenWrt:~# cat /boot/config.txt
```

Are correctly parsed as all part of a single section instead of being
wrongly treated as different empty sections.

---------

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Co-authored-by: Gregor Martynus <39992+gr2m@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants