diff --git a/.github/workflows/external-contributor-of-the-month.yaml b/.github/workflows/external-contributor-of-the-month.yaml index ca9839919fc..d75ff792a1a 100644 --- a/.github/workflows/external-contributor-of-the-month.yaml +++ b/.github/workflows/external-contributor-of-the-month.yaml @@ -32,7 +32,7 @@ jobs: PRS=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ -H "Accept: application/vnd.github.v3+json" \ "https://api.github.com/repos/spryker/spryker-docs/pulls?state=closed&sort=created&direction=desc&per_page=100&page=$PAGE" \ - | jq -r --arg START "$START_DATE" --arg END "$END_DATE" 'map(select(.labels[].name == "Contributor")) | .[].user.login') + | jq -r --arg START "$START_DATE" --arg END "$END_DATE" 'map(select(.merged_at >= $START and .merged_at <= $END and .labels[].name == "contributor")) | .[].user.login') if [ -z "$PRS" ]; then break