From f29193ad98d674a2f9bd5ce68e679835adb49f79 Mon Sep 17 00:00:00 2001 From: kramerro-ibm <102995992+kramerro-ibm@users.noreply.github.com> Date: Tue, 26 Nov 2024 16:02:33 -0500 Subject: [PATCH] Update sync.yaml Signed-off-by: kramerro-ibm <102995992+kramerro-ibm@users.noreply.github.com> --- .github/workflows/sync.yaml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/sync.yaml b/.github/workflows/sync.yaml index 4c01a32..e1e1918 100644 --- a/.github/workflows/sync.yaml +++ b/.github/workflows/sync.yaml @@ -32,22 +32,22 @@ jobs: gh auth login -p https -h ${{ env.ENTERPRISE_URL }} --with-token < /tmp/token.txt gh repo create --public ${{ github.repository }} - - name: Checkout repo and all branches to stage - id: checkout -# if: ${{ failure() && steps.repocheck.conclusion == 'failure' }} - uses: actions/checkout@v4 - with: - repository: ${{ github.repository }} - fetch-depth: 0 +# - name: Checkout repo and all branches to stage +# id: checkout +## if: ${{ failure() && steps.repocheck.conclusion == 'failure' }} +# uses: actions/checkout@v4 +# with: +# repository: ${{ github.repository }} +# fetch-depth: 0 - - name: Mirror the repo up to our internal github - id: mirror -# if: ${{ failure() && steps.check_directory.conclusion != 'failure' }} - uses: yesolutions/mirror-action@master - with: - REMOTE: 'https://${{ env.ENTERPRISE_URL }}/${{ github.repository }}' - GIT_USERNAME: ${{ env.GHE_USER }} - GIT_PASSWORD: ${{ env.GITHUB_TOKEN }} +# - name: Mirror the repo up to our internal github +# id: mirror +## if: ${{ failure() && steps.check_directory.conclusion != 'failure' }} +# uses: yesolutions/mirror-action@master +# with: +# REMOTE: 'https://${{ env.ENTERPRISE_URL }}/${{ github.repository }}' +# GIT_USERNAME: ${{ env.GHE_USER }} +# GIT_PASSWORD: ${{ env.GITHUB_TOKEN }} - name: Set repo name as an env var id: repo_name @@ -156,4 +156,4 @@ jobs: # uses: ad-m/github-push-action@master # with: # github_token: ${{ env.GITHUB_TOKEN }} -# \ No newline at end of file +#