[TT-17507] Move jira-linter to github-actions#138
Conversation
|
This pull request migrates the The new implementation extracts a Jira ticket ID from the branch name or PR title, fetches the ticket details from the Jira API, updates the PR description with this information, and validates the ticket's status. The PR also introduces a new CI job for testing the Go application and updates the Dependabot configuration to scan for Go module dependencies. Files Changed Analysis
Architecture & Impact Assessment
graph TD
A[Pull Request Event] --> B{jira-lint.yaml Workflow};
B --> C[Checkout github-actions repo];
C --> D[Run ./jira-linter composite action];
D --> E[Build & Execute Go App];
E -->|Fetch issue| F[Jira API];
E -->|Update PR & Post Comment| G[GitHub API];
Scope Discovery & Context ExpansionThe scope of this PR is to replace an external Jira linting tool with a custom, self-contained solution. The core logic resides in
The Metadata
Powered by Visor from Probelabs Last updated: 2026-06-24T10:19:27.483Z | Triggered by: pr_updated | Commit: 6afc7ad 💡 TIP: You can chat with Visor using |
Security Issues (2)
Architecture Issues (2)
Performance Issues (1)
Powered by Visor from Probelabs Last updated: 2026-06-24T10:19:20.636Z | Triggered by: pr_updated | Commit: 6afc7ad 💡 TIP: You can chat with Visor using |
rafalgolarz
left a comment
There was a problem hiding this comment.
LGTM. I would probably move the regex outside the function but it still works, so 👍
Thanks
Follow up PR for TykTechnologies/github-actions#138 <!---TykTechnologies/jira-linter starts here--> ### Ticket Details <details> <summary> <a href="https://tyktech.atlassian.net/browse/TT-17507" title="TT-17507" target="_blank">TT-17507</a> </summary> | | | |---------|----| | Status | In Code Review | | Summary | Move jira-linter to github-actions | Generated at: 2026-07-02 14:14:48 </details> <!---TykTechnologies/jira-linter ends here-->
Follow up PR for TykTechnologies/github-actions#138 <!---TykTechnologies/jira-linter starts here--> ### Ticket Details <details> <summary> <a href="https://tyktech.atlassian.net/browse/TT-17507" title="TT-17507" target="_blank">TT-17507</a> </summary> | | | |---------|----| | Status | In Code Review | | Summary | Move jira-linter to github-actions | Generated at: 2026-07-02 14:14:48 </details> <!---TykTechnologies/jira-linter ends here--> (cherry picked from commit f20ba22)
Follow up PR for TykTechnologies/github-actions#138 <!---TykTechnologies/jira-linter starts here--> <details> <summary> <a href="https://tyktech.atlassian.net/browse/TT-17507" title="TT-17507" target="_blank">TT-17507</a> </summary> | | | |---------|----| | Status | In Code Review | | Summary | Move jira-linter to github-actions | Generated at: 2026-07-02 14:14:48 </details> <!---TykTechnologies/jira-linter ends here--> (cherry picked from commit f20ba22)
…ns mono-repo (#8366) (#8454) ### **User description** [TT-17507] Move jira-linter into github-actions mono-repo (#8366) Follow up PR for TykTechnologies/github-actions#138 <!---TykTechnologies/jira-linter starts here--> ### Ticket Details <details> <summary> <a href="https://tyktech.atlassian.net/browse/TT-17507" title="TT-17507" target="_blank">TT-17507</a> </summary> | | | |---------|----| | Status | In Code Review | | Summary | Move jira-linter to github-actions | Generated at: 2026-07-02 14:14:48 </details> <!---TykTechnologies/jira-linter ends here--> [TT-17507]: https://tyktech.atlassian.net/browse/TT-17507?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ ___ ### **PR Type** Enhancement ___ ### **Description** - Switch Jira validator to monorepo action - Replace direct linter SHA reference - Use shared Jira secret inputs ___ ### Diagram Walkthrough ```mermaid flowchart LR wf["PR validation workflow"] act["github-actions/jira-linter@production"] sec["Shared Jira auth secrets"] wf -- "runs" --> act sec -- "provided as inputs" --> act ``` <details> <summary><h3> File Walkthrough</h3></summary> <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Configuration changes</strong></td><td><table> <tr> <td> <details> <summary><strong>jira-pr-validator.yaml</strong><dd><code>Migrate Jira PR validation action source</code> </dd></summary> <hr> .github/workflows/jira-pr-validator.yaml <ul><li>Replace <code>TykTechnologies/jira-linter</code> SHA-pinned usage with <br><code>TykTechnologies/github-actions/jira-linter@production</code><br> <li> Swap explicit Jira email/token inputs for <code>jira-read-auth</code><br> <li> Read Jira base URL from <code>secrets.JIRA_BASE_URL</code></ul> </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/8454/files#diff-565cb346c69e4fbc27356fc50b5f757580e10bc676e6d2016090a7d07cc53881">+3/-4</a> </td> </tr> </table></td></tr></tr></tbody></table> </details> ___ Co-authored-by: Burak Sezer <burak.sezer.developer@gmail.com>
…ons mono-repo (#8366) (#8471) [TT-17507] Move jira-linter into github-actions mono-repo (#8366) Follow up PR for TykTechnologies/github-actions#138 <!---TykTechnologies/jira-linter starts here--> ### Ticket Details <details> <summary> <a href="https://tyktech.atlassian.net/browse/TT-17507" title="TT-17507" target="_blank">TT-17507</a> </summary> | | | |---------|----| | Status | In Code Review | | Summary | Move jira-linter to github-actions | Generated at: 2026-07-02 14:14:48 </details> <!---TykTechnologies/jira-linter ends here--> [TT-17507]: https://tyktech.atlassian.net/browse/TT-17507?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ Co-authored-by: Burak Sezer <burak.sezer.developer@gmail.com>
PR for https://tyktech.atlassian.net/browse/TT-17507
Changes
TykTechnologies/jira-lintercomposite action source code intojira-linterdirectorycyrus-za/jira-lintreusable workflow with the in-house implementationdependabotconfig for Go module updatesCaller Migration
After merge, 20 repos need to update their
jira-pr-validator.yaml:TykTechnologies/jira-linter@main→TykTechnologies/github-actions/jira-linter@mainList of repos: