-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PSCE-306 feat: replaces update_from_upstream bash with trestlebot act…
…ion (#73) * feat: replaces update_from_upstream bash with trestlebot action Signed-off-by: Jennifer Power <[email protected]> * Update update-profiles.yml --------- Signed-off-by: Jennifer Power <[email protected]>
- Loading branch information
Showing
2 changed files
with
10 additions
and
114 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 |
---|---|---|
|
@@ -21,19 +21,14 @@ jobs: | |
with: | ||
token: ${{ steps.get_installation_token.outputs.token }} | ||
- name: Update from upstream repo | ||
run: bash ./scripts/update-from-upstream.sh -b "main" -r "https://github.com/RedHatProductSecurity/oscal-profiles" -p "*.json" -i catalogs -i profiles | ||
- uses: peter-evans/[email protected] | ||
uses: RedHatProductSecurity/trestle-bot/actions/[email protected] | ||
with: | ||
base: main | ||
branch: autoupdate-${{ github.run_id }} | ||
delete-branch: true | ||
commit-message: "Update vendored OSCAL content" | ||
title: "Update vendored OSCAL content" | ||
body: | | ||
This PR updates content from https://github.com/RedHatProductSecurity/oscal-profiles. | ||
"Automatically generated by the [update-profiles](.github/workflows/update-profiles.yml) workflow." | ||
add-paths: | | ||
catalogs/ | ||
profiles/ | ||
token: ${{ steps.get_installation_token.outputs.token }} | ||
committer: trestle-bot[bot] <136850459+trestle-bot[bot]@users.noreply.github.com> | ||
branch: "sync-upstream-${{ github.run_id }}" | ||
target_branch: "main" | ||
commit_message: "Updates content from oscal-profiles repository [skip ci]" | ||
pull_request_title: "Updates content from oscal-profiles repository" | ||
commit_user_name: "trestle-bot[bot]" | ||
commit_user_email: "136850459+trestle-bot[bot]@users.noreply.github.com" | ||
github_token: ${{ steps.get_installation_token.outputs.token }} | ||
sources: | | ||
https://github.com/RedHatProductSecurity/oscal-profiles@main |
This file was deleted.
Oops, something went wrong.