From 7b2a482f828ffdf2dcf2fb8ac7b958ff1d14b9b2 Mon Sep 17 00:00:00 2001 From: Junya Okabe <86868255+Okabe-Junya@users.noreply.github.com> Date: Fri, 1 Sep 2023 02:44:01 +0900 Subject: [PATCH] =?UTF-8?q?update:=20=E3=82=AB=E3=82=B9=E3=81=AE=E3=83=8F?= =?UTF-8?q?=E3=83=BC=E3=83=89=E3=82=B3=E3=83=BC=E3=83=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/metrics-multi-repo.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) 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