Skip to content

Commit

Permalink
Merge pull request #139 from route06/toyamarinyon-patch-1
Browse files Browse the repository at this point in the history
雑談会ログのissueの作成時刻を月曜日の10時に変更
  • Loading branch information
toyamarinyon authored Nov 7, 2023
2 parents d44bbcd + bbafd07 commit c4568d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/create_meeting_record.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Create Meeting Record issue
on:
schedule:
# 毎週金曜 13:00 JST
- cron: '0 4 * * fri'
# workflow_dispatch:
# 毎週月曜日 10:00 JST
- cron: '0 1 * * mon'
workflow_dispatch:
jobs:
create_issue:
runs-on: ubuntu-latest
Expand All @@ -14,6 +14,6 @@ jobs:
run: |
latest=$(gh issue list --jq '.[].title' --json title --search "雑談会 sort:created-desc" --limit 10 | grep 回 | grep -oE '[0-9]+' | head -1)
latest=$(($latest+1))
gh issue create --title "第${latest}回 雑談会ログ - `date '+%Y/%m/%d'`" --body "今週の雑談会のログです:memo:"
gh issue create --title "第${latest}回 雑談会ログ - `date --date '+4 days' '+%Y/%m/%d'`" --body "今週の雑談会のログです:memo:"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c4568d1

Please sign in to comment.