-
Notifications
You must be signed in to change notification settings - Fork 429
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Create GitHub comment as table (#3948)
- Loading branch information
1 parent
06eb8a4
commit bf67b1d
Showing
7 changed files
with
117 additions
and
43 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
GITHUB_API_URL = "https://api.github.com/" | ||
GITHUB_API_VERSION = "2022-11-28" | ||
|
||
LINK_FEATURE_TEXT = "### This pull request is linked to a Flagsmith Feature (`%s`):\n" | ||
LINK_FEATURE_TITLE = """**Flagsmith feature linked:** `%s` | ||
Default Values:\n""" | ||
FEATURE_TABLE_HEADER = """| Environment | Enabled | Value | Last Updated (UTC) | | ||
| :--- | :----- | :------ | :------ |\n""" | ||
FEATURE_TABLE_ROW = "| [%s](%s) | %s | %s | %s |\n" | ||
LINK_SEGMENT_TITLE = "Segment `%s` values:\n" | ||
UNLINKED_FEATURE_TEXT = "### The feature flag `%s` was unlinked from the issue/PR" | ||
UPDATED_FEATURE_TEXT = "### The Flagsmith Feature `%s` was updated in the environment " | ||
LAST_UPDATED_FEATURE_TEXT = "Last Updated %s" | ||
UPDATED_FEATURE_TEXT = "Flagsmith Feature `%s` has been updated:\n" | ||
DELETED_FEATURE_TEXT = "### The Feature Flag `%s` was deleted" | ||
FEATURE_ENVIRONMENT_URL = "%s/project/%s/environment/%s/features?feature=%s&tab=%s" |
This file contains 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
This file contains 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
This file contains 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