diff --git a/.github/workflows/copy-to-CSS-SystemCenter-OperationsManager.yml b/.github/workflows/copy-to-CSS-SystemCenter-OperationsManager.yml index b8976f9..bcc146a 100644 --- a/.github/workflows/copy-to-CSS-SystemCenter-OperationsManager.yml +++ b/.github/workflows/copy-to-CSS-SystemCenter-OperationsManager.yml @@ -70,3 +70,25 @@ jobs: commit_msg: 'Synchronized with `SCOM-Scripts-and-SQL` :fireworks: :star2:' # Destination branch to create for this commit #destination_branch_create: # optional + + - name: Push ManagementPacks directory to microsoft/CSS-SystemCenter-OperationsManager + # You may pin to the exact commit or the version. + # uses: datalbry/copy_folder_to_another_repo_action@f4ceec0eb4df6da5e4fe043dbc38c698a8ff4401 + uses: datalbry/copy_folder_to_another_repo_action@1.0.1 + with: + # Source folder from the origin directory + source_folder: 'ManagementPacks' + # Destination repository + destination_repo: microsoft/CSS-SystemCenter-OperationsManager + # Directory to push the folder contents to + destination_folder: 'ManagementPacks' + # Email for the git commit + user_email: blakedrumm@microsoft.com + # GitHub username for the commit + user_name: blakedrumm + # branch to push folder to, defaults to master + destination_branch: main + # The commit message + commit_msg: 'Synchronized with `SCOM-Scripts-and-SQL` :fireworks: :star2:' + # Destination branch to create for this commit + #destination_branch_create: # optional