From e92a945a2d196556a512fe102fe6a6e76b43fba3 Mon Sep 17 00:00:00 2001 From: Marcus Hert Da Coregio Date: Thu, 22 Aug 2024 10:17:55 -0300 Subject: [PATCH] Replace Env Variable with Expression Issue gh-15659 --- .github/workflows/mark-duplicate-dependabot-prs.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/mark-duplicate-dependabot-prs.yml b/.github/workflows/mark-duplicate-dependabot-prs.yml index 7d1574309d9..478e2ad8149 100644 --- a/.github/workflows/mark-duplicate-dependabot-prs.yml +++ b/.github/workflows/mark-duplicate-dependabot-prs.yml @@ -22,10 +22,9 @@ jobs: - name: Find PRs id: find_duplicates env: - DEPENDENCY_NAME: ${{ steps.extract.outputs.dependency_name }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - PRS=$(gh pr list --search 'milestone:${{ github.event.pull_request.milestone.title }} is:merged in:title "$DEPENDENCY_NAME"' --json number --jq 'map(.number) | join(",")') + PRS=$(gh pr list --search 'milestone:${{ github.event.pull_request.milestone.title }} is:merged in:title "${{ steps.extract.outputs.dependency_name }}"' --json number --jq 'map(.number) | join(",")') echo "prs=$PRS" >> $GITHUB_OUTPUT - name: Label Duplicate PRs