Skip to content

schema-sync

schema-sync #183

Workflow file for this run

name: schema-sync
on:
workflow_dispatch:
schedule:
- cron: "20 0,12 * * *"
jobs:
schema-sync:
runs-on: ubuntu-latest
permissions:
actions: write
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- name: Check for Discourse OpenAPI schema updates
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
deno task schema:sync