This commit is contained in:
Michel Roegl-Brunner 2025-03-10 16:14:43 +01:00
parent 10dcece5bb
commit 570dab2083

View File

@ -26,7 +26,7 @@ jobs:
raw_output=$(gh issue list --json title,labels) raw_output=$(gh issue list --json title,labels)
echo "$raw_output" echo "$raw_output"
filtered_issues=$(echo "$raw_output" | jq -r '.[] | select(.labels[]? == "MigrationTest") | .title') filtered_issues=$(echo "$raw_output" | jq -r '.[] | select(.labels[]?.name == "MigrationTest") | .title')
if [ -z "$filtered_issues" ]; then if [ -z "$filtered_issues" ]; then
echo "No issues found with label 'MigrationTest'." echo "No issues found with label 'MigrationTest'."
else else
@ -73,7 +73,7 @@ jobs:
- name: Create PR if files found - name: Create PR if files found
if: env.files_found == 'true' if: env.files_found == 'true'
env: env:
GH_TOKEN: ${{ steps.generate-token.outputs.token }} GITHUB_TOKEN: ${{ secrets.MAIN_REPO_WF }}
run: | run: |
script_name="wf-test" script_name="wf-test"