Skip to content

Commit

Permalink
update: カスのハードコード
Browse files Browse the repository at this point in the history
  • Loading branch information
Okabe-Junya authored Aug 31, 2023
1 parent dfdaf17 commit 7b2a482
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/metrics-multi-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,8 @@ jobs:
- name: Get dates for last month
shell: bash
run: |
# Calculate the first day of the previous month
first_day=$(date -d "last month" +%Y-%m-01)
# Calculate the last day of the previous month
last_day=$(date -d "$first_day +1 month -1 day" +%Y-%m-%d)
#Set an environment variable with the date range
echo "$first_day..$last_day"
echo "last_month=$first_day..$last_day" >> "$GITHUB_ENV"
# 検証のためハードコードする
echo "last_month=2022-07-01..2023-07-31" >> "$GITHUB_ENV"
- name: Get issue metrics repo
uses: github/issue-metrics@v2
Expand Down

0 comments on commit 7b2a482

Please sign in to comment.