Skip to content

meeting: upgrade meet action #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 27 additions & 12 deletions .github/ISSUE_TEMPLATE/meeting-agenda.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
## Date/Time

| Timezone | Date/Time |
|----------|-----------|
<%= [
<% const timezones = [
'America/Los_Angeles',
'America/Denver',
'America/Chicago',
Expand All @@ -14,12 +10,31 @@
'Asia/Shanghai',
'Asia/Tokyo',
'Australia/Sydney'
].map((zone) => {
return `| ${zone} | ${date.setZone(zone).toFormat('EEE dd-MMM-yyyy HH:mm (hh:mm a)')} |`
]; %>

## Date/Time

| Timezone | Date/Time |
|----------|-----------|
<%= timezones.map((zone) => {
const zonedDate = date.toZonedDateTimeISO(zone)
const formatter = new Intl.DateTimeFormat('en-US', {
weekday: 'short',
month: 'short',
day: '2-digit',
year: 'numeric',
hour: '2-digit',
minute: '2-digit',
hour12: true,
timeZone: zone
})
const formattedDate = formatter.format(new Date(zonedDate.epochMilliseconds))
return `| ${zone} | ${formattedDate} |`
}).join('\n') %>

Or in your local time:
* https://www.timeanddate.com/worldclock/?iso=<%= date.toFormat("yyyy-MM-dd'T'HH:mm:ss") %>

* https://www.timeanddate.com/worldclock/fixedtime.html?msg=<%= encodeURIComponent(title) %>&iso=<%= date.toZonedDateTimeISO('UTC').toPlainDateTime().toString().slice(0, 16).replace(/[-:]/g, '') %>&p1=1440&ah=1

## Agenda

Expand All @@ -31,7 +46,7 @@ Extracted from **<%= agendaLabel %>** labelled issues and pull requests from **<

## Invited

- Webpack TSC (@webpack/tsc)
* Webpack TSC (@webpack/tsc)

### Observers/Guests

Expand All @@ -46,6 +61,6 @@ This meeting is open for anyone who wants to attend. Reminder to follow our [Cod
Please use the following emoji reactions in this post to indicate your
availability.

- 👍 - Attending
- 👎 - Not attending
- 😕 - Not sure yet
* 👍 - Attending
* 👎 - Not attending
* 😕 - Not sure yet
12 changes: 6 additions & 6 deletions .github/workflows/generate-meeting-agendas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Generate TSC Meeting Agenda

on:
pull_request:
push:
branches:
- main
paths:
- '.github/workflows/generate-meeting-agendas.yml'
- '.github/ISSUE_TEMPLATE/meeting-agenda.md'
schedule:
- cron: '0 0 * * *'

Expand All @@ -18,13 +18,13 @@ jobs:

steps:
- name: Webpack TSC Meeting Agenda
uses: 'pkgjs/meet@v0'
uses: 'pkgjs/meet@v1'
with:
issueTitle: 'TSC Meeting <%= date.toFormat("dd-MMMM-yyyy") %>'
issueTitle: 'TSC Meeting <%= date.toZonedDateTimeISO("UTC").toPlainDate().toString() %>'
token: ${{ secrets.GITHUB_TOKEN }}
orgs: webpack,webpack-contrib
agendaLabel: 'tsc-agenda'
meetingLabels: 'meeting'
schedules: '2025-05-05T16:00:00.0Z/P2W'
schedules: '2025-05-05T11:00:00.0[America/Chicago]/P2W'
createWithin: 'P7D'
issueTemplate: 'meeting-agenda.md'
Loading