mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-04-28 06:30:18 +00:00
Refactor Json Location (#3184)
This commit is contained in:
parent
b1bcdc3ce8
commit
35d5507b38
4
.github/autolabeler-config.json
vendored
4
.github/autolabeler-config.json
vendored
@ -38,7 +38,7 @@
|
|||||||
"website": [
|
"website": [
|
||||||
{
|
{
|
||||||
"fileStatus": null,
|
"fileStatus": null,
|
||||||
"includeGlobs": ["frontend/**", "json/**"],
|
"includeGlobs": ["frontend/**"],
|
||||||
"excludeGlobs": []
|
"excludeGlobs": []
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -59,7 +59,7 @@
|
|||||||
"json": [
|
"json": [
|
||||||
{
|
{
|
||||||
"fileStatus": "modified",
|
"fileStatus": "modified",
|
||||||
"includeGlobs": ["json/**"],
|
"includeGlobs": ["frontend/public/json/**"],
|
||||||
"excludeGlobs": []
|
"excludeGlobs": []
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
2
.github/workflows/frontend-cicd.yml
vendored
2
.github/workflows/frontend-cicd.yml
vendored
@ -7,14 +7,12 @@ on:
|
|||||||
branches: ["main"]
|
branches: ["main"]
|
||||||
paths:
|
paths:
|
||||||
- frontend/**
|
- frontend/**
|
||||||
- json/**
|
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: ["main"]
|
branches: ["main"]
|
||||||
types: [opened, synchronize, reopened, edited]
|
types: [opened, synchronize, reopened, edited]
|
||||||
paths:
|
paths:
|
||||||
- frontend/**
|
- frontend/**
|
||||||
- json/**
|
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
6
.github/workflows/update-json-date.yml
vendored
6
.github/workflows/update-json-date.yml
vendored
@ -5,7 +5,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- 'json/**.json'
|
- 'frontend/public/json/**.json'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -49,7 +49,7 @@ jobs:
|
|||||||
- name: Get Newly Added JSON Files
|
- name: Get Newly Added JSON Files
|
||||||
id: new_json_files
|
id: new_json_files
|
||||||
run: |
|
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:"
|
echo "New files detected:"
|
||||||
cat new_files.txt || echo "No new files."
|
cat new_files.txt || echo "No new files."
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ jobs:
|
|||||||
- name: Check if there are any changes
|
- name: Check if there are any changes
|
||||||
run: |
|
run: |
|
||||||
echo "Checking for changes..."
|
echo "Checking for changes..."
|
||||||
git add -A # Untracked Dateien aufnehmen
|
git add -A
|
||||||
git status
|
git status
|
||||||
if git diff --cached --quiet; then
|
if git diff --cached --quiet; then
|
||||||
echo "No changes detected."
|
echo "No changes detected."
|
||||||
|
2
.github/workflows/validate-filenames.yml
vendored
2
.github/workflows/validate-filenames.yml
vendored
@ -5,7 +5,7 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- "ct/*.sh"
|
- "ct/*.sh"
|
||||||
- "install/*.sh"
|
- "install/*.sh"
|
||||||
- "json/*.json"
|
- "frontend/public/json/*.json"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-files:
|
check-files:
|
||||||
|
@ -1 +0,0 @@
|
|||||||
../../json
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user