Skip to content

Commit

Permalink
chore: regenerates profiles after upstream updates for control diff
Browse files Browse the repository at this point in the history
Signed-off-by: Jennifer Power <[email protected]>
  • Loading branch information
jpower432 committed Mar 12, 2024
1 parent da0a253 commit 999df8c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 42 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/regenerate-profile.yml

This file was deleted.

15 changes: 14 additions & 1 deletion .github/workflows/update-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
git config --global --add safe.directory "${GITHUB_WORKSPACE}"
- name: Update content
uses: peter-evans/[email protected]
id: updates
with:
base: main
branch: "oscal-update-${{ github.run_id }}"
Expand All @@ -75,4 +76,16 @@ jobs:
Auto-generated by the `update-upstream` workflow.
add-paths: |
"catalogs/${NIST_CATALOG_NAME}"
"profiles/${FEDRAMP_PROFILE_NAME}"
"profiles/${FEDRAMP_PROFILE_NAME}"
- name: Regenerate profiles
if: ${{ steps.updates.outputs.pull-request-number }}
uses: RedHatProductSecurity/trestle-bot/actions/[email protected]
with:
markdown_path: "markdown/profiles"
oscal_model: "profile"
file_pattern: "markdown/*"
branch: "oscal-update-${{ github.run_id }}"
commit_message: Generating markdown changes [skip ci]
skip_assemble: true
commit_user_name: "trestle-bot[bot]"
commit_user_email: "136850459+trestle-bot[bot]@users.noreply.github.com"

0 comments on commit 999df8c

Please sign in to comment.