Skip to content

✨ Live Version - Add link to current live rule alongside PR preview #12843

Description

@tiagov8

Requested by: @tiagov8 via YakShaver.ai 🦬
cc: @micsblank, @Aibono1225, @tiagov8, @adamcogan, @joshbermanssw

Hi Team!

  🟥  Watch the video (1 min 43 sec)

  Url from screen share: #12841

Pain

Add an additional link in the GitHub Action for Rules (Content) pull requests that points to the current live (production) version of the rule. This link should appear alongside the existing PR preview link so reviewers can easily open both versions in separate tabs and compare changes without reading raw markdown or file diffs.

Acceptance Criteria

  1. Given a pull request in the Rules (Content) repository, when the GitHub Action runs, then it displays a link to the PR preview of the rule.
  2. Given a pull request in the Rules (Content) repository, when the GitHub Action runs, then it also displays a link labeled clearly as the current live (production) version of the rule.
  3. Both the PR preview link and the live version link are visible together in the GitHub Action output or PR comment.
  4. The live version link correctly points to the currently published rule in production.
  5. Users can open the PR preview and live version links in separate tabs to compare content easily.
  6. The change does not remove or break the existing PR preview functionality.

Screenshot

Screenshot
Figure: Missing link to current live version alongside PR preview

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions