This commit is contained in:
Michel Roegl-Brunner 2025-03-18 09:15:17 +01:00
parent 39aa685de0
commit fb9d14cf4a

View File

@ -47,6 +47,9 @@ jobs:
filtered_issues=$(echo "$raw_output" | jq -r '.[] | select(.labels[]?.name == "Migration To ProxmoxVE") | .title') filtered_issues=$(echo "$raw_output" | jq -r '.[] | select(.labels[]?.name == "Migration To ProxmoxVE") | .title')
issue_nr=$(echo "$raw_output" | jq -r '.[] | select(.labels[]?.name == "Migration To ProxmoxVE") | .number' | head -n 1) issue_nr=$(echo "$raw_output" | jq -r '.[] | select(.labels[]?.name == "Migration To ProxmoxVE") | .number' | head -n 1)
echo $raw_output
echo $filtered_issues
echo $issue_nr
if [ -z "$filtered_issues" ]; then if [ -z "$filtered_issues" ]; then
echo "No issues found with label 'Migration To ProxmoxVE'." echo "No issues found with label 'Migration To ProxmoxVE'."
exit 1 exit 1