[PR #6380] [MERGED] feat: trigger VRT updates via /update-vrt comment #55781

Closed
opened 2026-05-01 03:03:33 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/6380
Author: @MatissJanis
Created: 12/12/2025
Status: Merged
Merged: 12/13/2025
Merged by: @MatissJanis

Base: masterHead: matiss/vrt-update-command


📝 Commits (2)

  • ddc7f57 feat: trigger VRT updates via /update-vrt comment
  • df48d50 fix: update VRT trigger condition to use startsWith for command detection

📊 Changes

3 files changed (+37 additions, -21 deletions)

View changed files

📝 .github/workflows/e2e-test.yml (+1 -1)
📝 .github/workflows/vrt-update-generate.yml (+30 -20)
upcoming-release-notes/6380.md (+6 -0)

📄 Description

Summary

Changes how VRT screenshot updates are triggered. Instead of automatically running on every PR, the VRT update workflow now only runs when a maintainer or contributor comments /update-vrt on the PR.

New Workflow

flowchart TD
    A[PR Opened/Updated] --> B[E2E Tests Run]
    B --> C{VRT Tests}
    C -->|Pass| D[Tests Complete]
    C -->|Fail| E[Post Comment with Report Link]
    E --> F[Comment includes /update-vrt instruction]
    F --> G{User comments /update-vrt?}
    G -->|Yes| H[VRT Generate Workflow Triggers]
    H --> I[Generate VRT Patches]
    I --> J[VRT Apply Workflow Runs]
    J --> K[Screenshots Updated in PR]
    G -->|No| M[User Investigates Changes]

Changes

  1. vrt-update-generate.yml: Changed trigger from pull_request to issue_comment with /update-vrt filter
  2. e2e-test.yml: Updated VRT failure comment to inform users about the /update-vrt command

Benefits

  • Reduces unnecessary CI runs for PRs that intentionally change visual appearance
  • Gives contributors explicit control over when VRT screenshots are updated
  • Maintains the automated update capability when needed

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/6380 **Author:** [@MatissJanis](https://github.com/MatissJanis) **Created:** 12/12/2025 **Status:** ✅ Merged **Merged:** 12/13/2025 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `matiss/vrt-update-command` --- ### 📝 Commits (2) - [`ddc7f57`](https://github.com/actualbudget/actual/commit/ddc7f576f5787b8457c19b0263c52872ca313ef1) feat: trigger VRT updates via /update-vrt comment - [`df48d50`](https://github.com/actualbudget/actual/commit/df48d5018a2d79562215d7e61707199f955234b9) fix: update VRT trigger condition to use startsWith for command detection ### 📊 Changes **3 files changed** (+37 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/e2e-test.yml` (+1 -1) 📝 `.github/workflows/vrt-update-generate.yml` (+30 -20) ➕ `upcoming-release-notes/6380.md` (+6 -0) </details> ### 📄 Description ## Summary Changes how VRT screenshot updates are triggered. Instead of automatically running on every PR, the VRT update workflow now only runs when a maintainer or contributor comments `/update-vrt` on the PR. ## New Workflow ```mermaid flowchart TD A[PR Opened/Updated] --> B[E2E Tests Run] B --> C{VRT Tests} C -->|Pass| D[Tests Complete] C -->|Fail| E[Post Comment with Report Link] E --> F[Comment includes /update-vrt instruction] F --> G{User comments /update-vrt?} G -->|Yes| H[VRT Generate Workflow Triggers] H --> I[Generate VRT Patches] I --> J[VRT Apply Workflow Runs] J --> K[Screenshots Updated in PR] G -->|No| M[User Investigates Changes] ``` ## Changes 1. **vrt-update-generate.yml**: Changed trigger from `pull_request` to `issue_comment` with `/update-vrt` filter 2. **e2e-test.yml**: Updated VRT failure comment to inform users about the `/update-vrt` command ## Benefits - Reduces unnecessary CI runs for PRs that intentionally change visual appearance - Gives contributors explicit control over when VRT screenshots are updated - Maintains the automated update capability when needed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-01 03:03:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#55781