diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index 03b20af..19b0f15 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -22,6 +22,7 @@ jobs: id: list_issues run: | echo "Filtering Issues with Label MigrationTest" + gh issue list script_name=$(gh issue list --label "MigrationTest" --json title --jq '.[0].title') echo "Found script name: $script_name" @@ -61,7 +62,7 @@ jobs: private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Create PR if files found - if: ${{ env.files_found }} == "true" + if: env.files_found == 'true' env: GH_TOKEN: ${{ steps.generate-token.outputs.token }} run: |