-
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.
refactor: updates validate.yml for trestlebot migration from check_only
Signed-off-by: Jennifer Power <[email protected]>
- Loading branch information
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -22,7 +22,7 @@ jobs: | |
name: Create profile | ||
runs-on: ubuntu-latest | ||
container: | ||
image: quay.io/continuouscompliance/trestle-bot:v0.8.0 | ||
image: quay.io/continuouscompliance/trestle-bot:v0.9.0 | ||
steps: | ||
- name: Generate app token | ||
uses: tibdex/[email protected] | ||
|
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 |
---|---|---|
|
@@ -22,13 +22,19 @@ jobs: | |
- name: Clone | ||
uses: actions/checkout@v4 | ||
- name: Check profile | ||
id: check-profile | ||
id: check | ||
uses: RedHatProductSecurity/trestle-bot/actions/[email protected] | ||
with: | ||
markdown_path: "markdown/profiles" | ||
oscal_model: "profile" | ||
check_only: true | ||
skip_items: "fedramp_rev5_high" | ||
dry_run: true | ||
- name: Fail | ||
if: ${{ steps.check.outputs.changes == 'true' }} | ||
uses: actions/github-script@v7 | ||
with: | ||
script: | | ||
core.setFailed('Changes detected. Manual intervention may be required.') | ||
call-autofix: | ||
needs: [test] | ||
|