diff --git a/.github/workflows/metrics-multi-repo.yml b/.github/workflows/metrics-multi-repo.yml index ef41fc9d..dfb15334 100644 --- a/.github/workflows/metrics-multi-repo.yml +++ b/.github/workflows/metrics-multi-repo.yml @@ -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