Skip to content

Commit b7af40e

Browse files
authored
Merge pull request #5 from webpack/chore/add-script-and-first-notes
chore: added workflows and notes
2 parents 4539474 + 8ae9810 commit b7af40e

File tree

6 files changed

+852
-105
lines changed

6 files changed

+852
-105
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
## Date/Time
2+
3+
| Timezone | Date/Time |
4+
|----------|-----------|
5+
<%= [
6+
'America/Los_Angeles',
7+
'America/Denver',
8+
'America/Chicago',
9+
'America/New_York',
10+
'Europe/London',
11+
'Europe/Amsterdam',
12+
'Europe/Moscow',
13+
'Asia/Kolkata',
14+
'Asia/Shanghai',
15+
'Asia/Tokyo',
16+
'Australia/Sydney'
17+
].map((zone) => {
18+
return `| ${zone} | ${date.setZone(zone).toFormat('EEE dd-MMM-yyyy HH:mm (hh:mm a)')} |`
19+
}).join('\n') %>
20+
21+
Or in your local time:
22+
* https://www.timeanddate.com/worldclock/?iso=<%= date.toFormat("yyyy-MM-dd'T'HH:mm:ss") %>
23+
24+
## Agenda
25+
26+
Extracted from **<%= agendaLabel %>** labelled issues and pull requests from **<%= owner %>/<%= repo %>** prior to the meeting.
27+
28+
<%= agendaIssues.map((i) => {
29+
return `* ${i.html_url}`
30+
}).join('\n') %>
31+
32+
## Invited
33+
34+
- Webpack TSC (@webpack/tsc)
35+
36+
### Observers/Guests
37+
38+
This meeting is open for anyone who wants to attend. Reminder to follow our [Code of Conduct](https://github.com/webpack/webpack/blob/main/CODE_OF_CONDUCT.md).
39+
40+
### Joining the meeting
41+
42+
* Join [Webpack's Discord server](https://discord.gg/5sxFZPdx2k) then the #tsc channel
43+
44+
---
45+
46+
Please use the following emoji reactions in this post to indicate your
47+
availability.
48+
49+
- 👍 - Attending
50+
- 👎 - Not attending
51+
- 😕 - Not sure yet
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Generate TSC Meeting Agenda
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
7+
schedule:
8+
- cron: '0 0 * * *'
9+
jobs:
10+
meeting:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Webpack TSC Meeting Agenda
14+
uses: 'pkgjs/meet@v0'
15+
with:
16+
issueTitle: 'TSC Meeting <%= date.toFormat("dd-MMMM-yyyy") %>'
17+
token: ${{ secrets.GITHUB_TOKEN }}
18+
orgs: webpack,webpack-contrib
19+
agendaLabel: 'tsc-agenda'
20+
meetingLabels: 'meeting'
21+
schedules: '2025-05-12T17:00:00.0Z/P2W'
22+
createWithin: 'P1W'
23+
issueTemplate: 'meeting-agenda.md'
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
name: Generate TSC Meeting Transcript
2+
3+
on:
4+
issues:
5+
types: [closed]
6+
7+
jobs:
8+
generate-trancript:
9+
runs-on: ubuntu-latest
10+
11+
if: contains(github.event.issue.labels.*.name, 'tsc meeting')
12+
13+
env:
14+
TRANSCRIPT_GENERATED: false
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
19+
- name: Setup Node.js
20+
uses: actions/setup-node@v3
21+
with:
22+
cache: 'npm'
23+
24+
- name: Cache Node.js modules
25+
uses: actions/cache@v3
26+
with:
27+
path: ~/.npm
28+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
29+
restore-keys: |
30+
${{ runner.os }}-node-
31+
32+
- name: Install dependencies
33+
run: npm install
34+
35+
- name: Generate transcript
36+
run: npm run generate:transcript
37+
env:
38+
TOKEN: ${{ secrets.DISCORD_BOT_TOKEN }}
39+
ID: ${{ secrets.DISCORD_CHANNEL_ID }}
40+
ISSUE_TITLE: ${{ github.event.issue.title }}
41+
42+
- name: Configure Git identity
43+
run: |
44+
git config user.email "webpack[bot]@users.noreply.github.com"
45+
git config user.name "Webpack Bot"
46+
47+
- name: Commit generated transcript (if changed)
48+
run: |
49+
if [ -n "$(git status --porcelain)" ]; then
50+
echo "Files changed."
51+
git commit -a -m 'Add ${{ github.event.issue.title }} transcript'
52+
echo "TRANSCRIPT_GENERATED=true" >> $GITHUB_ENV
53+
fi
54+
55+
- name: Create Pull Request
56+
if: env.TRANSCRIPT_GENERATED == 'true'
57+
uses: peter-evans/create-pull-request@v3
58+
with:
59+
commit-message: Add ${{ github.event.issue.title }} transcript
60+
title: Add ${{ github.event.issue.title }} transcript
61+
branch: generate-meeting-transcript
62+
branch-suffix: timestamp
63+
author: Webpack Bot <webpack[bot]@users.noreply.github.com>
64+
committer: Webpack Bot <webpack[bot]@users.noreply.github.com>
65+
body: |
66+
Add ${{ github.event.issue.title }} transcript.
67+
68+
This PR is autogenerated by the "Generate Transcript" GitHub Action.
69+
env:
70+
GH_TOKEN: ${{ secrets.WEBPACK_GITHUB_BOT_TOKEN }}

meetings/28_04_2025.md

Lines changed: 0 additions & 105 deletions
This file was deleted.

0 commit comments

Comments
 (0)