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
Copy file name to clipboardExpand all lines: README.md
+62-19Lines changed: 62 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,12 +26,13 @@ jobs:
26
26
- uses: pkgjs/meet@v0
27
27
with:
28
28
token: ${{ secrets.GITHUB_TOKEN }}
29
-
schedules: 2020-04-02T17:00:00.0Z/P1D
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
30
31
```
31
32
32
-
### Inputs
33
+
### Github Action Inputs
33
34
34
-
The meeting schedule, issue, etc can be configured with inouts to this action.
35
+
The meeting schedule, issue, etc can be configured with inputs to this action.
35
36
36
37
- `token`: (required) The token from the action for calling to the GitHub API.
37
38
- `schedules`: (required) The ISO-8601 interval for the schedule. Default: `${now/P7D}` seven days from now
@@ -54,28 +55,70 @@ If you don't want to use the default issue template, you can use a custom issue
54
55
55
56
You can use both our shorthand and JavaScript in your meeting templates.
56
57
57
-
#### Shorthand in Your Custom Meeting Templates
58
+
## Template Data and Automatic Replacements
58
59
59
-
We provide some shorthand that you can use in your meeting templates. We'll automatically replace the shorthand with the relevant dynamic information.
60
+
#### Autoreplacing Shorthand in Custom Meeting Templates
60
61
61
-
- Title:
62
-
- Shorthand: `<!-- title -->`
63
-
- Result: The issue's title.
64
-
- Agenda Label:
65
-
- Shorthand: `<!-- agenda label -->`
66
-
- Result: The label for agenda items to be pulled from that you've defined in the Action's YAML configuration.
67
-
- Invitees:
68
-
- Shorthand: `<!-- invitees -->`
69
-
- Result: The list of invitees you've defined in the Action's YAML configuration.
70
-
- Observers:
71
-
- Shorthand: `<!-- observers -->`
72
-
- Result: The list of observers you've defined in the Action's YAML configuration.
62
+
We provide some shorthand that you can use in your meeting templates. We'll automatically replace the shorthand with the relevant dynamic information.
73
63
74
64
If you'd like to see more shorthand available, we absolutely welcome PRs.
75
65
76
-
#### JavaScript in Your Custom Meeting Templates
66
+
- **`<!-- title -->`**: The issue's title.
67
+
- **`<!-- agenda label -->`**: The label for agenda items to be pulled from that you've defined in the Action's YAML configuration.
68
+
- **`<!-- invitees -->`**: The list of invitees you've defined in the Action's YAML configuration.
69
+
- **`<!-- observers -->`**: The list of observers you've defined in the Action's YAML configuration.
70
+
71
+
```md
72
+
## Title
73
+
<!-- title -->
74
+
75
+
## Agenda Items
76
+
Extracted from issues labeled with <!-- agenda label -->.
77
+
78
+
## Participants
79
+
- Invitees: <!-- invitees -->
80
+
- Observers: <!-- observers -->
81
+
```
82
+
83
+
### Template Data
84
+
85
+
When using EJS templates for your meeting issues, the following data properties are available:
77
86
78
-
You can include custom JavaScript in your custom meeting templates. We use [ejs](https://ejs.co/), so anything within an ejs tag will be parsed as JavaScript.
87
+
- **`date`**: The date of the meeting, formatted using Luxon.
88
+
- **`agendaIssues`**: A list of agenda issues, each with properties like `title`, `number`, and `html_url`.
89
+
- **`agendaLabel`**: The label used to identify agenda items.
90
+
- **`meetingNotes`**: A link or content for meeting notes.
91
+
- **`owner`**: The GitHub repository owner.
92
+
- **`repo`**: The GitHub repository name.
93
+
- **`title`**: The title of the issue, which can be dynamically generated.
94
+
- **`invitees`**: A list of invitees, if provided.
95
+
- **`observers`**: A list of observers, if provided.
0 commit comments