Skip to content

Commit

Permalink
feat: add meeting link option
Browse files Browse the repository at this point in the history
  • Loading branch information
bjohansebas committed Nov 21, 2024
1 parent 61042a3 commit 862a515
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/meeting.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ Extracted from **<%= agendaLabel %>** labelled issues and pull requests from **<

### Joining the meeting

* link for participants:
* link for participants: <%= meetingLink %>
* For those who just want to watch:
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
createWithin: P2D
meetingLabels: test
agendaLabel: meeting-agenda-test
meetingLink: https://github.com/pkgjs/meet
createNotes: true
repos: pkgjs/meet,pkgjs/meet
orgs: pkgjs
Expand Down
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ inputs:
description: 'The labels to apply to issues generated by this GitHub Action for meetings. Default: "meeting"'
default: 'meeting'
required: false
meetingLink:
description: 'A optional link to the join the meeting'
required: false
agendaLabel:
description: 'The label used to identify agenda items within the same repository. Default: "meeting-agenda"'
default: 'meeting-agenda'
Expand Down
1 change: 1 addition & 0 deletions lib/meetings.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ function getNextIssue (opts) {
date,
agendaLabel: opts.agendaLabel,
agendaIssues: opts.agendaIssues,
meetingLink: opts.meetingLink,
labels: opts.meetingLabels,
meetingNotes: opts.meetingNotes || '',
issue_number: (opts.issue || {}).number || null,
Expand Down
3 changes: 3 additions & 0 deletions run.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ const pkg = require('./package.json')
const createNotes = core.getInput('createNotes')
const notesUserTemplate = core.getInput('notesTemplate')

const meetingLink = core.getInput('meetingLink')

// Get list of repos
let repos = core.getInput('repos')
const repo = github.context.repo
Expand Down Expand Up @@ -115,6 +117,7 @@ const pkg = require('./package.json')
meetingLabels,
createWithin,
agendaLabel,
meetingLink,
agendaIssues,
issueTitle: titleTemplate
}
Expand Down

0 comments on commit 862a515

Please sign in to comment.