1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-04-25 23:08:06 +00:00

Refactor Json Location (#3184)

This commit is contained in:
Michel Roegl-Brunner 2025-03-18 10:29:14 +01:00 committed by GitHub
parent b1bcdc3ce8
commit 35d5507b38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
323 changed files with 123 additions and 126 deletions

View File

@ -38,7 +38,7 @@
"website": [
{
"fileStatus": null,
"includeGlobs": ["frontend/**", "json/**"],
"includeGlobs": ["frontend/**"],
"excludeGlobs": []
}
],
@ -59,7 +59,7 @@
"json": [
{
"fileStatus": "modified",
"includeGlobs": ["json/**"],
"includeGlobs": ["frontend/public/json/**"],
"excludeGlobs": []
}
],

View File

@ -7,14 +7,12 @@ on:
branches: ["main"]
paths:
- frontend/**
- json/**
pull_request:
branches: ["main"]
types: [opened, synchronize, reopened, edited]
paths:
- frontend/**
- json/**
workflow_dispatch:

View File

@ -5,7 +5,7 @@ on:
branches:
- main
paths:
- 'json/**.json'
- 'frontend/public/json/**.json'
workflow_dispatch:
jobs:
@ -49,7 +49,7 @@ jobs:
- name: Get Newly Added JSON Files
id: new_json_files
run: |
git diff --name-only --diff-filter=A ${{ env.prev_commit }} HEAD | grep '^json/.*\.json$' > new_files.txt || true
git diff --name-only --diff-filter=A ${{ env.prev_commit }} HEAD | grep '^frontend/public/json/.*\.json$' > new_files.txt || true
echo "New files detected:"
cat new_files.txt || echo "No new files."
@ -87,7 +87,7 @@ jobs:
- name: Check if there are any changes
run: |
echo "Checking for changes..."
git add -A # Untracked Dateien aufnehmen
git add -A
git status
if git diff --cached --quiet; then
echo "No changes detected."

View File

@ -5,7 +5,7 @@ on:
paths:
- "ct/*.sh"
- "install/*.sh"
- "json/*.json"
- "frontend/public/json/*.json"
jobs:
check-files:

View File

@ -1 +0,0 @@
../../json

Some files were not shown because too many files have changed in this diff Show More