Skip to content

Sync Meetup Events

Sync Meetup Events #12

Workflow file for this run

name: Sync Meetup Events
on:
schedule:
- cron: '15 */6 * * *'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: sync-meetup-events
cancel-in-progress: false
jobs:
sync-meetup-events:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Node.js
uses: actions/setup-node@v7
with:
node-version: '24'
- name: Sync upcoming Meetup events
run: node .github/scripts/sync-meetup-events.mjs
- name: Create GitHub App token
id: app-token
uses: actions/create-github-app-token@v3
with:
client-id: ${{ vars.AUTOMATION_APP_CLIENT_ID }}
private-key: ${{ secrets.AUTOMATION_APP_PRIVATE_KEY }}
- name: Create pull request for synchronized events
uses: peter-evans/create-pull-request@v8.1.1
with:
token: ${{ steps.app-token.outputs.token }}
add-paths: |
content/calendar
branch: automation/sync-meetup-events
commit-message: Sync Meetup events
title: Sync Meetup events
body: |
Automated synchronization of upcoming events from configured Meetup groups.
delete-branch: true