Browse Source

Replace Env Variable with Expression

Issue gh-15659
pull/15718/head
Marcus Hert Da Coregio 1 year ago
parent
commit
e92a945a2d
  1. 3
      .github/workflows/mark-duplicate-dependabot-prs.yml

3
.github/workflows/mark-duplicate-dependabot-prs.yml

@ -22,10 +22,9 @@ jobs:
- name: Find PRs - name: Find PRs
id: find_duplicates id: find_duplicates
env: env:
DEPENDENCY_NAME: ${{ steps.extract.outputs.dependency_name }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | 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 echo "prs=$PRS" >> $GITHUB_OUTPUT
- name: Label Duplicate PRs - name: Label Duplicate PRs

Loading…
Cancel
Save