diff --git a/.github/workflows/monthly.yml b/.github/workflows/monthly.yml index 400a30a2e..1b6ec9c1f 100644 --- a/.github/workflows/monthly.yml +++ b/.github/workflows/monthly.yml @@ -3,10 +3,25 @@ on: schedule: # 3:25 UTC (12:25 JST) on 1st day of every month - cron: '25 3 1 * *' + - cron: '25 3 2/1 * *' jobs: + archive: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + ref: source + - run: | + git config user.name 'github-actions[bot]' + git config user.email '41898282+github-actions[bot]@users.noreply.github.com' + export USER_AGENT='Mozilla/5.0 (compatible; elaws-history/2.0.0; +https://github.com/kissge/elaws-history)' + bash run.sh + release: runs-on: ubuntu-latest + if: github.event.schedule == '25 3 1 * *' + needs: archive steps: - name: Get Info id: get-info