-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve connector dependency github action (#18480)
* Use more specific variable name * Write affected sources and destinations to files * Use Markdown template to format results * Update workflow to edit existing comment instead of making a new one * Check whether changed_files.txt is empty before proceeding * move template to .github/ * Use different quotes for true * Move logic about continuing back to after dependency report because of ignores * Use correct filename in conditional * Use if to avoid early exit * Create folder for comment templates and use constant for file path * Add handling for non-source non-destination info, pull out markdown listing
- Loading branch information
1 parent
4e12c13
commit 385ab7e
Showing
3 changed files
with
85 additions
and
17 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
.github/comment_templates/connector_dependency_template.md
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!--- this comment is for `report-connectors-dependency.yml` identification, do not remove --> | ||
|
||
NOTE ⚠️ Changes in this PR affect the following connectors. Make sure to run corresponding integration tests: | ||
|
||
<details> | ||
<summary> | ||
Sources ({num_sources}) | ||
|
||
</summary> | ||
|
||
{sources} | ||
|
||
</details> | ||
|
||
<details> | ||
<summary> | ||
Destinations ({num_destinations}) | ||
|
||
</summary> | ||
|
||
{destinations} | ||
|
||
</details> | ||
|
||
{others} |
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