Skip to content

New Initiative: Foo24234234 [Suggested by ohadschn]#27

Open
github-actions[bot] wants to merge 2 commits intomainfrom
auto-pr-7
Open

New Initiative: Foo24234234 [Suggested by ohadschn]#27
github-actions[bot] wants to merge 2 commits intomainfrom
auto-pr-7

Conversation

@github-actions
Copy link
Copy Markdown

@github-actions github-actions bot commented Nov 5, 2023

closes #7
IMPORTANT: Only merge after validating the initiative and double checking the generated JSON

* Feed issue title as display name to GPT
Also replace double quotes with single quotes

* sanitize issue title

* Mention new itiative issue author in PR title

* Add dev dependency for @octokit/rest
required for local auto PR generation testing

* fix issue author env var

* allow forced PR generation
via title prefix "[NEW-INITIATIVE-FORCE-PR]:"

* Improve comment message
Including run ID link

* add some test auto pr github-script mocked data

* fs - move to async

* minor rename
json => newInitiativeJson

* minor rename
humanReadableJson => markdownNewInitiativeJson

* minor refactor - exctract git operations to method

* remove redundant initiative JSON properties

* improved shell command execution

* Find existing link in all existing categories

* Fix link file relative path

* fix existing initiative detection

* Introduce Async suffix for async methods
Minimize chance of fogetting await

* minor comment markdown fix

* minot comment markdown fix

* Use glob
needed for node 16 used by gitub-script

* glob -  case-insensitive JSON extension pattern

* replace glob with custom recursive iterator
passing packages to github-scripts is too much overhead

* shell exec - minor logging fix

* fix issue author
name isn't passed, use login

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@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.

[NEW-INITIATIVE-FORCE-PR]: hello "world"?? ' strange #$title

1 participant