You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Schedule meetings via a GitHub Action. Creates issues based on a schedule and template.
11
7
12
8
This repository is managed by the [Package Maintenance Working Group](https://github.com/nodejs/package-maintenance), see [Governance](https://github.com/nodejs/package-maintenance/blob/main/Governance.md).
13
9
14
-
15
10
## Usage
16
11
17
12
```yaml
18
13
name: Schedule team meetings
19
14
on:
20
15
schedule:
21
-
- cron: '0 0 * * * *'
16
+
- cron: '0 0 * * * *'# Run daily at midnight UTC
22
17
jobs:
23
18
build:
24
19
runs-on: ubuntu-latest
25
20
steps:
26
-
- uses: pkgjs/meet@v0
21
+
- uses: pkgjs/meet@v1
27
22
with:
28
23
token: ${{ secrets.GITHUB_TOKEN }}
29
-
schedules: 2020-04-02T17:00:00.0Z/P1D # Every 1 day from 2020-04-02 at 5PM UTC
30
-
createWithin: P2D # Create issue 2 days before the scheduled meeting
24
+
schedules: 2020-04-02T17:00:00[America/Chicago]/P1D # Every 1 day from 2020-04-02 at 5PM Chicago time
25
+
createWithin: P2D # Create issue 2 days before the scheduled meeting
31
26
```
32
27
33
28
### Github Action Inputs
@@ -39,7 +34,7 @@ The meeting schedule, issue, etc can be configured with inputs to this action.
39
34
- `createWithin`: (required) The ISO-8601 duration for how soon before the meeting to create the issue. Default `P7D`
40
35
- `meetingLabels`: The labels to apply to issues generated by this GitHub Action for meetings. Default: `meeting`
41
36
- `agendaLabel`: Label to pull the agenda from. Default: `meeting-agenda`
- `issueTemplate`: The name of the issue template found in `.github/ISSUE_TEMPLATE`. Default: `meeting.md`
44
39
45
40
### Schedule format
@@ -107,7 +102,7 @@ If you'd like to see more shorthand available, we absolutely welcome PRs.
107
102
<!-- title -->
108
103
109
104
## Agenda Items
110
-
Extracted from issues labeled with <!-- agenda label -->.
105
+
Extracted from issues labelled with <!-- agenda label -->.
111
106
112
107
## Participants
113
108
- Invitees: <!-- invitees -->
@@ -122,7 +117,7 @@ When using EJS templates for your meeting issues, the following data properties
122
117
123
118
#### EJS Template Data
124
119
125
-
- **`date`**: `DateTime` - The date of the meeting, formatted using Luxon.
120
+
- **`date`**: `Temporal.Instant` - The date of the meeting, formatted using [Temporal](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal) for timezone conversions and [Intl.DateTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat) for locale-aware formatting.
126
121
- **`agendaIssues`**: `Array<Object>` - A list of agenda issues, each with properties like:
127
122
- `title`: `string`- The title of the agenda issue.
128
123
- `number`: `number`- The issue number.
@@ -138,34 +133,75 @@ When using EJS templates for your meeting issues, the following data properties
0 commit comments