Refactor release notes handling in workflow#24830
Merged
m-aliozkaya merged 1 commit intodevfrom Feb 6, 2026
Merged
Conversation
Updated the workflow to save release notes to an environment variable instead of a temporary file. Adjusted validation and fallback mechanisms accordingly.
m-aliozkaya
approved these changes
Feb 6, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR refactors how release notes are handled in the GitHub Actions workflow by switching from file-based storage to environment variable storage. The change eliminates the need for a temporary file (.tmp/raw-notes.txt) in earlier steps while maintaining the same functionality.
Changes:
- Replaced file-based release notes storage with environment variable (
RAW_NOTES) using heredoc syntax - Updated validation logic to check environment variable instead of file existence
- Modified AI prompt and fallback processing to use the environment variable directly
Comments suppressed due to low confidence (1)
.github/workflows/update-studio-docs.yml:1
- The pipe to
whilecreates a subshell, which means the output redirection to.tmp/final-notes.txthappens in the subshell. This could result in an empty or incomplete file. Consider using process substitution (while IFS= read -r line; do ... done < <(echo \"$RAW_NOTES\")) or a here-string (while IFS= read -r line; do ... done <<< \"$RAW_NOTES\") instead.
name: Update ABP Studio Docs
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.
No description provided.