Skip to content

Commit

Permalink
Update to use latest version of GitHub actions 🙈 🙉 🙊
Browse files Browse the repository at this point in the history
  • Loading branch information
blakedrumm committed May 25, 2024
1 parent 6705e33 commit 7beb259
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/copy-to-CSS-SystemCenter-OperationsManager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ name: Copy Files to microsoft/CSS-SystemCenter-OperationsManager

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
branches: [ master ]
#pull_request:
#branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -25,12 +25,12 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout
- uses: actions/checkout@main

- name: Push Powershell 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
uses: datalbry/copy_folder_to_another_repo_action@master
with:
# Source folder from the origin directory
source_folder: Powershell
Expand All @@ -52,7 +52,7 @@ jobs:
- name: Push SQL 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
uses: datalbry/copy_folder_to_another_repo_action@master
with:
# Source folder from the origin directory
source_folder: 'SQL Queries'
Expand All @@ -74,7 +74,7 @@ jobs:
- 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
uses: datalbry/copy_folder_to_another_repo_action@master
with:
# Source folder from the origin directory
source_folder: 'ManagementPacks'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/push-changes-to-blakedrumm-fileshare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
name: Copy Files to Blake Drumm - File Repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout
- uses: actions/checkout@main
- name: Copy Operations Manager Powershell to Blake Drumm - File Repository
# You may pin to the exact commit or the version.
# uses: AbleLincoln/push-to-sftp@a6c117bb60fdc94ab8e5b139cdb0b19bea582c81
uses: AbleLincoln/push-to-sftp
uses: AbleLincoln/push-to-sftp@main
with:
# SFTP server
host: ${{ secrets.HOST }}
Expand All @@ -46,7 +46,7 @@ jobs:
- name: Copy AutomatedLab Powershell to Blake Drumm - File Repository
# You may pin to the exact commit or the version.
# uses: AbleLincoln/push-to-sftp@a6c117bb60fdc94ab8e5b139cdb0b19bea582c81
uses: AbleLincoln/push-to-sftp
uses: AbleLincoln/push-to-sftp@main
with:
# SFTP server
host: ${{ secrets.HOST }}
Expand All @@ -65,7 +65,7 @@ jobs:
- name: Copy Operations Manager SQL Queries to Blake Drumm - File Repository
# You may pin to the exact commit or the version.
# uses: AbleLincoln/push-to-sftp@a6c117bb60fdc94ab8e5b139cdb0b19bea582c81
uses: AbleLincoln/push-to-sftp
uses: AbleLincoln/push-to-sftp@main
with:
# SFTP server
host: ${{ secrets.HOST }}
Expand Down

0 comments on commit 7beb259

Please sign in to comment.