Skip to content

Commit

Permalink
Merge pull request #55 from shari-sushi/auto_gnenerate_issue
Browse files Browse the repository at this point in the history
Auto gnenerate issue
  • Loading branch information
shari-sushi authored Jul 14, 2024
2 parents 0313f80 + e2cb4ed commit 6eeb9bb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 63 deletions.
10 changes: 0 additions & 10 deletions .github/issue-templates/regular-mtg.md

This file was deleted.

48 changes: 0 additions & 48 deletions .github/workflows/create_regular_mtg_issue.yml.text

This file was deleted.

16 changes: 11 additions & 5 deletions .github/workflows/create_weekly_mtg_issue.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
name: Weekly MTG
on:
schedule:
- cron: 45 19 * * 0 # at 4:45 Mon(JST)
- cron: 50 19 * * 0 # at 4:50 Mon(JST)
- cron: 40 20 * * 0 # at 4:45 Mon(JST)
- cron: 45 20 * * 0 # at 4:50 Mon(JST)
- cron: 00 09 * * 2 # at 18:00 Tue(JST)

jobs:
create_issue:
name: Create team sync issue
name: Create issue every Tuesday
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Create team sync issue
- name: Get the current date
run: echo "NOW=`(TZ='Asia/Tokyo' date +'%m/%d(%a)')`" >> $GITHUB_ENV
- name: echo $NOW
run: echo $NOW
- name: Create issue
run: |
new_issue_url=$(gh issue create \
--title "$TITLE" \
Expand All @@ -23,7 +28,8 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
TITLE: 【(○曜日)】MTG
NOW: (TZ='Asia/Tokyo' date +'%m/%d(%a)')
TITLE_: 【 ${{ env.NOW }}(火曜日)】MTG
LABELS: documentation
BODY: |
自動生成issueです
Expand Down

0 comments on commit 6eeb9bb

Please sign in to comment.