Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED
This commit is contained in:
commit
f52767bef0
18
.github/workflows/move-to-main-repo.yaml
vendored
18
.github/workflows/move-to-main-repo.yaml
vendored
@ -23,16 +23,20 @@ jobs:
|
||||
run: |
|
||||
echo "Filtering Issues with Label MigrationTest"
|
||||
|
||||
gh issue list --label "MigrationTest" --repo community-scripts/ProxmoxVED
|
||||
gh issue list --label "MigrationTest" --json title
|
||||
|
||||
script_name=$(gh issue list --label "MigrationTest" --json title --jq '.[0].title')
|
||||
echo "Found script name: $script_name"
|
||||
raw_output=$(gh issue list --json title,labels)
|
||||
filtered_issues=$(echo "$raw_output" | jq -r '.[] | select(.labels[]? == "MigrationTest") | .title')
|
||||
if [ -z "$filtered_issues" ]; then
|
||||
echo "No issues found with label 'MigrationTest'."
|
||||
else
|
||||
|
||||
echo "Found script names with 'MigrationTest' label:"
|
||||
echo "$filtered_issues"
|
||||
for script_name in $filtered_issues; do
|
||||
echo "Processing: $script_name"
|
||||
script_name_lowercase=$(echo "$script_name" | tr '[:upper:]' '[:lower:]')
|
||||
echo "Lowercase script name: $script_name_lowercase"
|
||||
|
||||
echo "script_name=$script_name_lowercase" >> $GITHUB_ENV
|
||||
done
|
||||
fi
|
||||
|
||||
- name: Check if script files exist
|
||||
id: check_files
|
||||
|
Loading…
x
Reference in New Issue
Block a user