From 570dab20835d37c7b9e36136cde7f63e553f4690 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Mon, 10 Mar 2025 16:14:43 +0100 Subject: [PATCH] WF --- .github/workflows/move-to-main-repo.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index bc8640cb9..7fe09260b 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -26,7 +26,7 @@ jobs: raw_output=$(gh issue list --json title,labels) 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 echo "No issues found with label 'MigrationTest'." else @@ -73,7 +73,7 @@ jobs: - name: Create PR if files found if: env.files_found == 'true' env: - GH_TOKEN: ${{ steps.generate-token.outputs.token }} + GITHUB_TOKEN: ${{ secrets.MAIN_REPO_WF }} run: | script_name="wf-test"