|
2 | 2 | name: Weekly Community Call (EN) |
3 | 3 | on: |
4 | 4 | schedule: |
5 | | - - cron: 0 12 * * 4 |
| 5 | + - cron: 0 15 * * 3 |
| 6 | + workflow_dispatch: |
6 | 7 |
|
7 | 8 | jobs: |
8 | 9 | en-community-cal: |
9 | 10 | name: Community Call Raise |
10 | 11 | runs-on: ubuntu-latest |
11 | 12 | steps: |
12 | | - - name: Meeting date |
| 13 | + - name: Check if meeting week |
| 14 | + id: check_week |
13 | 15 | run: |- |
14 | | - if [ $(expr $(date +%W) % 3) -eq 0 ]; then |
15 | | - echo "MEETINGDAY=$(date -d "+21 days" +"%b %d, %Y")" >> $GITHUB_ENV |
16 | | - echo "MEETINGDAYNUM=$(date -d "+21 days" +"%Y%m%d")" >> $GITHUB_ENV |
| 16 | + # Check if today is Wednesday and tomorrow is the 3rd Thursday of the month |
| 17 | + TODAY=$(date +%Y-%m-%d) |
| 18 | + TOMORROW=$(date -d "+1 day" +%Y-%m-%d) |
| 19 | +
|
| 20 | + # Check if today is Wednesday |
| 21 | + if [ $(date +%u) -eq 3 ]; then |
| 22 | + # Check if tomorrow is Thursday |
| 23 | + if [ $(date -d "$TOMORROW" +%u) -eq 4 ]; then |
| 24 | + # Get the day of the month for tomorrow |
| 25 | + DAY_OF_MONTH=$(date -d "$TOMORROW" +%d) |
| 26 | +
|
| 27 | + # Third Thursday is between 15th and 21st of the month |
| 28 | + if [ $DAY_OF_MONTH -ge 15 ] && [ $DAY_OF_MONTH -le 21 ]; then |
| 29 | + echo "should_run=true" >> $GITHUB_OUTPUT |
| 30 | + else |
| 31 | + echo "should_run=false" >> $GITHUB_OUTPUT |
| 32 | + fi |
| 33 | + else |
| 34 | + echo "should_run=false" >> $GITHUB_OUTPUT |
| 35 | + fi |
17 | 36 | else |
18 | | - exit 1 |
| 37 | + echo "should_run=false" >> $GITHUB_OUTPUT |
19 | 38 | fi |
20 | 39 |
|
| 40 | + - name: Meeting date |
| 41 | + if: steps.check_week.outputs.should_run == 'true' |
| 42 | + run: |- |
| 43 | + echo "MEETINGDAY=$(date -d "+1 day" +"%b %d, %Y")" >> $GITHUB_ENV |
| 44 | + echo "MEETINGDAYNUM=$(date -d "+1 day" +"%Y%m%d")" >> $GITHUB_ENV |
| 45 | +
|
21 | 46 | - name: New Community call issue |
| 47 | + if: steps.check_week.outputs.should_run == 'true' |
22 | 48 | uses: imjohnbo/issue-bot@v3 |
23 | 49 | with: |
24 | 50 | labels: "comminity call" |
25 | 51 | title: ${{ env.MEETINGDAY }} Community Meeting Agenda |
26 | 52 | body: |- |
27 | 53 | KubeVela Community Meetings |
28 | 54 |
|
29 | | - Every two weeks we host a community meeting to showcase new features, review upcoming milestones, and engage in Q&A with the KubeVela community - all are welcome, and we encourage participation. |
| 55 | + Every month on the third Thursday we host a community meeting to showcase new features, review upcoming milestones, and engage in Q&A with the KubeVela community - all are welcome, and we encourage participation. |
30 | 56 |
|
31 | 57 | The purpose of this thread is to form a discussion amongst the KubeVela community on potential topics to highlight during the meeting. If you have a topic you wish to present or learn more about, please comment and be sure to include your name and a short description of the topic. |
32 | 58 |
|
33 | | - The conversations in this thread will directly influence the meeting agenda for the community call on Tuesday ${{ env.MEETINGDAY }} 07:30 AM PST. The meeting agenda will be finalized by a Community Call Host days prior to the meeting. |
| 59 | + The conversations in this thread will directly influence the meeting agenda for the community call on Thursday ${{ env.MEETINGDAY }} 08:00 AM PST. The meeting agenda will be finalized by a Community Call Host days prior to the meeting. |
34 | 60 |
|
35 | 61 | Thank you and we look forward to hearing your input. |
36 | 62 |
|
37 | 63 | | Asset | Link | |
38 | 64 | |:-----------|:------------| |
39 | 65 | | 🔗 Meeting Link & Password (*English*) | **Zoom Call:** https://zoom.us/j/5706981108?pwd=N0lOVit3Titwb3B2VitZbHhKU3k1Zz09 |
40 | 66 | | 🎥 Meeting Recordings (*English*) | https://docs.google.com/document/d/1nqdFEyULekyksFHtFvgvFAYE-0AMHKoS3RMnaKsarjs |
41 | | - | Meeting time | Tuesday ${{ env.MEETINGDAY }} 07:30 AM Pacific Time (PST) - [See it in your local time](https://www.timeanddate.com/worldclock/fixedtime.html?iso=${{ env.MEETINGDAYNUM }}T0730&p1=234) |
| 67 | + | Meeting time | Thursday ${{ env.MEETINGDAY }} 08:00 AM Pacific Time (PST) - [See it in your local time](https://www.timeanddate.com/worldclock/fixedtime.html?iso=${{ env.MEETINGDAYNUM }}T0800&p1=234) |
42 | 68 |
|
43 | 69 | pinned: true |
44 | 70 | close-previous: false |
|
0 commit comments