Skip to content

Trestlebot initial

Trestlebot initial #1

---
name: Trestle-bot autosync catalog updates
on:
push:
branches:
- main
paths:
- 'catalogs/**'
- 'markdown/catalogs/**'
jobs:
autosync:
name: Autosync catalog content
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run autosync
id: autosync
uses: RedHatProductSecurity/trestle-bot/actions/autosync@main
with:
markdown_path: "markdown/catalogs"
oscal_model: "catalog"
file_pattern: "*.json,markdown/*"