-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: regenerates profiles after upstream updates for control diff
Signed-off-by: Jennifer Power <[email protected]>
- Loading branch information
Showing
2 changed files
with
14 additions
and
42 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }}" | ||
|
@@ -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" |