Repository navigation
[#196] ✨ - Simplify projecturls logic - #197
Merged
Merged
Conversation
…ject-ids' and update related logic; set default for 'commit-prefix-builder' to 'branchName.replace("/", "-")'.
…ub.com/landamessenger/git-board-flow into feature/180-improve-ai-pr-descriptions
…ject-ids' in documentation and workflow files; remove unused commit prefix builder logic from git_board_commit.yml.
…ub.com/landamessenger/git-board-flow into feature/180-improve-ai-pr-descriptions
…ub.com/landamessenger/git-board-flow into feature/196-simplify-projecturls-logic
|
To view this pull requests documentation preview, visit the following URL: docs.page/landamessenger/git-board-flow~197 Documentation is deployed and generated using docs.page. |
1 task done
Contributor
✨ Feature Actions
🚀 Happy coding! |
Contributor
✨ Feature Actions
🚀 Happy coding! |
1 task done
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


#196
What does this PR do?
Description:
This pull request addresses the issue of simplifying configuration by updating the project-urls config to project-ids in the yaml file. This change reduces the amount of configuration needed and improves usability.
What files were changed?
.github/workflows/git_board_commit.yml:This change indicates that the step for checking out the repository was removed from the workflow.
.github/workflows/git_board_issue.yml:.github/workflows/git_board_pr.yml:action.yml:commitPrefixBuilderto be mutable usingletinstead ofconstAdded a conditional statement to check if the length of
commitPrefixBuilderis 0Assigned a new value to
commitPrefixBuilderif the length was 0docs/issues/configuration.mdx:project-idsto specify project IDs for linking issues and pull requests. The parameterproject-urlswas removed. Theemoji-labeled-titleparameter now has a default value of "true". Thereopen-issue-on-pushparameter default value remains as "true". Thedesired-assignees-countparameter now has a maximum value of 10.-97,7 +136,7commit-prefix-builder: Enable commit prefix generationcommit-prefix-builder: Enable commit prefix generation (default: "branchName.replace("/", "-");")project-urlsandcommit-prefix-builderwas removed and replaced withproject-ids: 1,2. Theproject-urlswere taken out and thebranchName.replace("/", "-");code was eliminated along with it. The new code added isproject-ids: 1,2to define specific project IDs, along with the existinggithub-tokenandgithub-token-personalfields.-82,7 +80,7The patch section was modified in the file. The
project-urlsline was removed and replaced withproject-ids: 1, 2. This change simplifies the configuration by using project IDs instead of URLs for organizing issues.src/index.ts:@@ -1,4 +1,5 +[code here]projectUrlsInputtoprojectIdsInputprojectUrlstoprojectIdsurltoidin the.map()functionurltoidin the.filter()functionprojectIdinstead of usingprojectUrlprojectUrltoprojectIdprojectIdvariable and the GitHub organization URL.