Skip to content

chore(deps): updates trestlebot actions to latest for testing #53

chore(deps): updates trestlebot actions to latest for testing

chore(deps): updates trestlebot actions to latest for testing #53

Workflow file for this run

name: Evaluate profiles
on:
pull_request:
types: [ opened, ready_for_review, reopened, synchronize ]
branches:
- main
paths:
- 'profiles/**'
- 'markdown/profiles/**'
jobs:
test:
name: Evaluate profiles
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Clone
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Check profile
id: check-profile
uses: RedHatProductSecurity/trestle-bot/actions/autosyncv0.3.0
with:
markdown_path: "markdown/profiles"
oscal_model: "profile"
check_only: true
skip_items: "fedramp_rev5_high"
call-autofix:
needs: [test]
if: ${{ always() && contains(needs.*.result, 'failure') }}
uses: ./.github/workflows/autofix-profile.yml
with:
branch: ${{ github.head_ref }}
secrets: inherit