From 64c23ba5552101f8d277525abca8efd3779c0794 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 21 Aug 2025 13:18:25 -0400 Subject: [PATCH 1/3] ci: adds a schedule for automated creation of bi-weekly meetings Signed-off-by: Vincent Biret --- .github/workflows/agenda.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/agenda.yaml b/.github/workflows/agenda.yaml index d3f97f3..12448e8 100644 --- a/.github/workflows/agenda.yaml +++ b/.github/workflows/agenda.yaml @@ -2,6 +2,9 @@ name: Create meeting template on: workflow_dispatch: {} + schedule: + # every two weeks on tuesday at 8AM PST (with DST) + - cron: '0 15 */14 * 2' jobs: create-discussion: @@ -16,6 +19,11 @@ jobs: echo 'AGENDA<> $GITHUB_ENV cat .github/templates/agenda.md >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV + - name: Get Next Meeting Date + id: get-next-meeting-date + run: | + NEXT_MEETING_DATE=$(date -d "next Tuesday 08:00" +%Y-%m-%d) + echo "NEXT_MEETING_DATE=$NEXT_MEETING_DATE" >> $GITHUB_ENV - name: Create discussion with agenda id: create-repository-discussion uses: octokit/graphql-action@v2.x @@ -24,7 +32,7 @@ jobs: with: variables: | body: "${{ env.AGENDA }}" - title: "Overlays Meeting" + title: "Overlays Meeting (${{ env.NEXT_MEETING_DATE }})" repositoryId: 'MDEwOlJlcG9zaXRvcnkzNTk4NjU5MDI=' categoryId: 'DIC_kwDOFXMeLs4COVB8' query: | From f9e9447a0ffc7171e725d570d58481eb268c1ce9 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 21 Aug 2025 13:20:21 -0400 Subject: [PATCH 2/3] fix: run after the meeting time to avoid skew Signed-off-by: Vincent Biret --- .github/workflows/agenda.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/agenda.yaml b/.github/workflows/agenda.yaml index 12448e8..6fa011a 100644 --- a/.github/workflows/agenda.yaml +++ b/.github/workflows/agenda.yaml @@ -3,8 +3,8 @@ name: Create meeting template on: workflow_dispatch: {} schedule: - # every two weeks on tuesday at 8AM PST (with DST) - - cron: '0 15 */14 * 2' + # every two weeks on tuesday at 10AM PST (with DST) + - cron: '0 17 */14 * 2' jobs: create-discussion: From 98a24a02abcf0dd1b3e27e926e30f82181b62eb7 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 21 Aug 2025 13:23:02 -0400 Subject: [PATCH 3/3] fix: removes un relevant time Signed-off-by: Vincent Biret --- .github/workflows/agenda.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/agenda.yaml b/.github/workflows/agenda.yaml index 6fa011a..1d2a626 100644 --- a/.github/workflows/agenda.yaml +++ b/.github/workflows/agenda.yaml @@ -22,7 +22,7 @@ jobs: - name: Get Next Meeting Date id: get-next-meeting-date run: | - NEXT_MEETING_DATE=$(date -d "next Tuesday 08:00" +%Y-%m-%d) + NEXT_MEETING_DATE=$(date -d "next Tuesday" +%Y-%m-%d) echo "NEXT_MEETING_DATE=$NEXT_MEETING_DATE" >> $GITHUB_ENV - name: Create discussion with agenda id: create-repository-discussion