[PR #10315] [MERGED] 10310 pre commit yarn #13608

Closed
opened 2025-12-29 23:19:50 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/10315
Author: @arthanson
Created: 9/10/2022
Status: Merged
Merged: 9/12/2022
Merged by: @jeremystretch

Base: developHead: 10310-pre-commit-yarn


📝 Commits (4)

📊 Changes

1 file changed (+7 additions, -4 deletions)

View changed files

📝 scripts/git-hooks/pre-commit (+7 -4)

📄 Description

Fixes: #10310

Only runs yarn pre-commit check if static files have been modified.


🔄 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/netbox-community/netbox/pull/10315 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 9/10/2022 **Status:** ✅ Merged **Merged:** 9/12/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `10310-pre-commit-yarn` --- ### 📝 Commits (4) - [`333a95d`](https://github.com/netbox-community/netbox/commit/333a95db4e756f9ebf573e4b55d7d7b5a4de74e5) #10310 run yarn pre-commit only if static files changed - [`3b63342`](https://github.com/netbox-community/netbox/commit/3b63342bb9e3d35ef4ce80be6f4336076cc499ff) #10310 run yarn pre-commit only if static files changed - [`3211c2f`](https://github.com/netbox-community/netbox/commit/3211c2f08bebd2464c44fce36cee1c8e47c5d770) #10310 run yarn pre-commit only if static files changed - [`cdce75a`](https://github.com/netbox-community/netbox/commit/cdce75adff71abe688b2b80ee1b66d7dff1b1fff) #10310 run yarn pre-commit only if static files changed ### 📊 Changes **1 file changed** (+7 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `scripts/git-hooks/pre-commit` (+7 -4) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WE BE CLOSED AUTOMATICALLY. Specify your assigned issue number on the line below. --> ### Fixes: #10310 <!-- Please include a summary of the proposed changes below. --> Only runs yarn pre-commit check if static files have been modified. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:19:50 +01:00
adam closed this issue 2025-12-29 23:19:51 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13608