[PR #12521] [MERGED] chore: Only run GitHub workflows when needed #22942

Closed
opened 2026-04-20 04:30:30 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/12521
Author: @gaby
Created: 4/6/2025
Status: Merged
Merged: 4/6/2025
Merged by: @tjbck

Base: devHead: optimize-workflow


📝 Commits (1)

📊 Changes

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

View changed files

📝 .github/workflows/format-backend.yaml (+12 -2)
📝 .github/workflows/format-build-frontend.yaml (+9 -1)

📄 Description

Description

  • Currently workflows are run all the time, they should only run when needed.
  • The backend workflow will only run when changes to backend/, pyproject.toml and uv.lock files are made.
  • The frontend workflow will run when changes are not related to Python.
  • Added python3.12 to workflow

🔄 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/open-webui/open-webui/pull/12521 **Author:** [@gaby](https://github.com/gaby) **Created:** 4/6/2025 **Status:** ✅ Merged **Merged:** 4/6/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `optimize-workflow` --- ### 📝 Commits (1) - [`624c525`](https://github.com/open-webui/open-webui/commit/624c5250b12929be4f503303054441f3f47fc43a) Optimize GitHub actions ### 📊 Changes **2 files changed** (+21 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/format-backend.yaml` (+12 -2) 📝 `.github/workflows/format-build-frontend.yaml` (+9 -1) </details> ### 📄 Description ### Description - Currently workflows are run all the time, they should only run when needed. - The backend workflow will only run when changes to `backend/`, `pyproject.toml` and `uv.lock` files are made. - The frontend workflow will run when changes are *not* related to `Python`. - Added `python3.12` to workflow --- <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-04-20 04:30:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#22942