diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index e4cffe9..ca51cb2 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -22,8 +22,9 @@ jobs: id: list_issues run: | echo "Filtering Issues with Label MigrationTest" - gh issue list + gh issue list --label "MigrationTest" + script_name=$(gh issue list --label "MigrationTest" --json title --jq '.[0].title') echo "Found script name: $script_name"