Skip to content

Commit

Permalink
Update external-contributor-of-the-month.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadym Sachenko committed Jul 19, 2023
1 parent 9e7471f commit 57b7ee2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/external-contributor-of-the-month.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
id: determine
run: |
# Set the start and end dates for June 2023
START_DATE="2023-06-01"
START_DATE="2023-05-01"
END_DATE="2023-06-30"
MONTH_NAME="June"
Expand All @@ -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
Expand Down

0 comments on commit 57b7ee2

Please sign in to comment.