Skip to content

chore: update rule 1 #73

chore: update rule 1

chore: update rule 1 #73

Workflow file for this run

name: Validate PR with CI
on:
pull_request:
branches:
- main
paths:
- 'profiles/**'
- 'catalogs/**'
- 'component-definitions/**'
- 'markdown/**'
- 'rules/**'
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
transform-and-regenerate:
name: Rules Transform and Content Syncing
runs-on: ubuntu-latest
steps:
- name: Clone
uses: actions/checkout@v4
- name: AutoSync
id: autosync
uses: RedHatProductSecurity/trestle-bot/actions/autosync@main
with:
markdown_path: "markdown/components"
oscal_model: "compdef"
dry_run: true
- uses: dorny/paths-filter@v3
id: changes
with:
filters: |
rules:
- 'rules/**'
- name: Transform
if: steps.changes.outputs.rules == 'true'
id: transform
uses: RedHatProductSecurity/trestle-bot/actions/rules-transform@feat/markdown-generation-transform
with:
markdown_path: "markdown/components"
commit_message: "Auto-transform rules [skip ci]"
dry_run: true