Skip to content

Commit

Permalink
ci: use today as END_DATE
Browse files Browse the repository at this point in the history
  • Loading branch information
lrkkr committed Jun 6, 2024
1 parent a90f250 commit 9c250df
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/contributors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ jobs:
shell: bash
run: |
start_date=2022-01-01
# Calculate the last day of the previous month
end_date=$(date -d "$start_date +1 month -1 day" +%Y-%m-%d)
#Set an environment variable with the date range
end_date=$(date +%Y-%m-%d)
echo "START_DATE=$start_date" >> "$GITHUB_ENV"
echo "END_DATE=$end_date" >> "$GITHUB_ENV"
Expand All @@ -35,7 +31,7 @@ jobs:
with:
title: Contributor report
token: ${{ secrets.GH_TOKEN }}
content-filepath: ./CONTRIBUTORS.md
content-filepath: ./contributors.md
assignees: ${{ github.repository_owner }}
labels: |
report
Expand Down

0 comments on commit 9c250df

Please sign in to comment.