GHA-161 Use Ticket Filter Instead of Jira Release for REL Ticket#76
GHA-161 Use Ticket Filter Instead of Jira Release for REL Ticket#76yasen-pavlov-sonarsource merged 11 commits intomasterfrom
Conversation
c66725b to
8916ee3
Compare
…yml and use ENV variables instead
6a570ac to
ba8fcf9
Compare
Will update the PR first
|
@yasen-pavlov-sonarsource what should be our next steps? |
@nils-werner-sonarsource After reviewing the PR again and thinking of how best to handle this I came to the conclusion that it would be a lot cleaner to update the existing As I wrote above in my dismissal comment, I'll update the PR. |
SonarQube reviewer guideImportant We are currently testing different models for AI Summary. Model A:Summary: Add Jira release issue filter URL output to release notes workflow Review Focus: The new Start review at: Model B:Summary: Add a new Jira issue filter URL output to the release notes action, enabling direct access to filtered issues for a release version. Review Focus:
Start review at:
|



This pull request significantly expands and improves the test coverage for the
create-jira-release-ticketGitHub Action, focusing on the transition from using Jira version URLs to version IDs, and ensuring robust input validation and backward compatibility. It introduces dedicated jobs for unit, integration, validation, deprecation, and URL extraction tests. Additionally, it updates references throughout the workflow files to usejira-release-idinstead of the deprecatedjira-release-url, and adds comprehensive documentation as comments within the workflow files.Key changes:
Test Coverage Expansion and Structure
.github/workflows/test-create-jira-release-ticket.ymlfor unit tests, integration tests, validation tests, deprecation tests, and URL extraction tests, each with detailed documentation and clear separation of concerns. [1] [2] [3] [4]Migration from URL to ID
jira-release-idandJIRA_RELEASE_IDinstead of the deprecatedjira-release-urlandJIRA_RELEASE_URL, ensuring that validation and precedence logic now centers on the version ID. [1] [2] [3] [4] [5] [6]Deprecation and Backward Compatibility
jira-release-urlinput orJIRA_RELEASE_URLenv var triggers a deprecation warning, while still supporting backward compatibility by extracting the version ID from URLs.URL Extraction and Issue Filter Construction
Workflow Reference Updates
jira-release-urlin favor ofjira-release-id, including in.github/workflows/automated-release.ymland.github/workflows/test-get-jira-release-notes.yml. [1] [2] [3]Proof-of-concept
Release: https://github.com/SonarSource/sonar-rpg/actions/runs/20310856459
REL ticket with filter: https://sonarsource-sandbox-608.atlassian.net/browse/REL-4070