mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 18:22:14 +00:00
* Fix github not announcing new prs * Resets github_webhook_processor.php to upstream version, with our minor modification * Adds the whole pull_request_hooks folder that we also missed from upstream Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com> Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
22 lines
418 B
JavaScript
22 lines
418 B
JavaScript
import assert from "node:assert/strict";
|
|
import { changelogToYml } from "./autoChangelog.js";
|
|
import { parseChangelog } from "./changelogParser.js";
|
|
|
|
assert.equal(
|
|
changelogToYml(
|
|
parseChangelog(`
|
|
My cool PR!
|
|
:cl: DenverCoder9
|
|
add: Adds new stuff
|
|
add: Adds more stuff
|
|
/:cl:
|
|
`)
|
|
),
|
|
|
|
`author: "DenverCoder9"
|
|
delete-after: True
|
|
changes:
|
|
- rscadd: "Adds new stuff"
|
|
- rscadd: "Adds more stuff"`
|
|
);
|