From ecd516a660ecffec36f11e641ec00904e7e88b5b Mon Sep 17 00:00:00 2001 From: coleramos425 Date: Fri, 3 May 2024 20:05:58 +0000 Subject: [PATCH] Remove deprecated workflow. No longer applicable Signed-off-by: coleramos425 [ROCm/rocprofiler-compute commit: 80c93aa452ae8cb2767bbcd451b6b2c10ed842fa] --- .../.github/workflows/update-repo.yml | 59 ------------------- 1 file changed, 59 deletions(-) delete mode 100644 projects/rocprofiler-compute/.github/workflows/update-repo.yml diff --git a/projects/rocprofiler-compute/.github/workflows/update-repo.yml b/projects/rocprofiler-compute/.github/workflows/update-repo.yml deleted file mode 100644 index f5680ce172..0000000000 --- a/projects/rocprofiler-compute/.github/workflows/update-repo.yml +++ /dev/null @@ -1,59 +0,0 @@ -name: Update AARInternal - -on: - push: - branches: [ main ] - -jobs: - copy-files: - runs-on: ubuntu-latest - steps: - - name: Checkout current repo - uses: actions/checkout@v3 - with: - path: 'src' - ref: 'main' - persist-credentials: false - - - name: Checkout dest repo - uses: actions/checkout@v3 - with: - path: 'dest' - ref: 'main' - repository: 'AARInternal/omniperf' - token: ${{ secrets.GH_PAT }} - fetch-depth: 0 - persist-credentials: true - - - name: Copy common files to dest repo - shell: bash - run: | - rm -rf dest/* - cp -rv src/* dest/ - - - name: Check for new files - id: newFiles - shell: bash - working-directory: dest - run: | - pwd - ls - echo $(git status) - git add -A - git status --porcelain | wc -l - if [[ $(git status --porcelain | wc -l) -gt 0 ]] - then - echo "::set-output name=hasNewFiles::true" - else - echo "::set-output name=hasNewFiles::false" - fi - - name: Push new files - if: ${{ steps.newFiles.outputs.hasNewFiles == 'true' }} - shell: bash - working-directory: dest - run: | - git config --global user.name "${{ secrets.USER_NAME }}" - git config --global user.email "${{ secrets.USER_EMAIL }}" - git commit -m "maint: Updated common files from ref: ${{ github.ref }}" - git push -