From 5107346bda235a9e72b95af78f97a00cf213eb0a Mon Sep 17 00:00:00 2001 From: Sebastian Beltran Date: Fri, 20 Dec 2024 10:06:24 -0500 Subject: [PATCH] ci: automate security session issue (#36) --- .github/ISSUE_TEMPLATE/meeting.md | 60 +++++++++++++++++++++++++++++++ .github/workflows/meetings.yml | 25 +++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/meeting.md create mode 100644 .github/workflows/meetings.yml diff --git a/.github/ISSUE_TEMPLATE/meeting.md b/.github/ISSUE_TEMPLATE/meeting.md new file mode 100644 index 0000000..c366260 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/meeting.md @@ -0,0 +1,60 @@ +## Date/Time + +| Timezone | Date/Time | +|----------|-----------| +<%= [ + 'America/Los_Angeles', + 'America/Denver', + 'America/Chicago', + 'America/New_York', + 'Europe/London', + 'Europe/Amsterdam', + 'Europe/Moscow', + 'Asia/Kolkata', + 'Asia/Shanghai', + 'Asia/Tokyo', + 'Australia/Sydney' +].map((zone) => { + return `| ${zone} | ${date.setZone(zone).toFormat('EEE dd-MMM-yyyy HH:mm (hh:mm a)')} |` +}).join('\n') %> + +Or in your local time: +* https://www.timeanddate.com/worldclock/?iso=<%= date.toFormat("yyyy-MM-dd'T'HH:mm:ss") %> + +## Links + +* Minutes Google Doc: + +## Agenda + +Extracted from **<%= agendaLabel %>** labelled issues and pull requests from **<%= owner %>/<%= repo %>** prior to the meeting. + + +<%= agendaIssues.map((i) => { + return `* ${i.html_url}` +}).join('\n') %> + +## Invited + +- Security working team: @nodejs/security-wg + +### Observers/Guests + +This meeting is open for anyone who wants to attend. Reminder to follow our [Code of Conduct](https://github.com/expressjs/express/blob/master/Code-Of-Conduct.md). + +- @expressjs/security-wg +- @expressjs/security-triage + +### Joining the meeting + +* link for participants: https://zoom-lfx.platform.linuxfoundation.org/meeting/93099394904?password=d712f2e5-4fc9-45d1-99c5-fd762b885588 +* For those who just want to watch: https://www.youtube.com/@expressjs-official + +--- + +Please use the following emoji reactions in this post to indicate your +availability. + +- 👍 - Attending +- 👎 - Not attending +- 😕 - Not sure yet diff --git a/.github/workflows/meetings.yml b/.github/workflows/meetings.yml new file mode 100644 index 0000000..213d0ad --- /dev/null +++ b/.github/workflows/meetings.yml @@ -0,0 +1,25 @@ +name: Schedule Meetings +on: + pull_request: + push: + branches: + - master + schedule: + - cron: '0 0 * * *' +jobs: + meeting: + runs-on: ubuntu-latest + steps: + - name: Security Working Session + uses: 'pkgjs/meet@v0' + with: + issueTitle: '<%= date.toFormat("yyyy-MM-dd") %> Express Security Session' + token: ${{ secrets.GITHUB_TOKEN }} + orgs: expressjs,pillarjs,jshttp + agendaLabel: 'security-wg-agenda' + meetingLabels: 'meeting' + # https://github.com/expressjs/security-wg/issues/28#issuecomment-2399781618 + # Starting on 2024-10-21 at 5:30pm UTC (2024-10-21T17:30:00.0Z) with a period of 4 weeks (P4W) + schedules: '2024-10-21T17:30:00.0Z/P4W' + createWithin: 'P1W' + issueTemplate: 'meeting.md' \ No newline at end of file