From deb8604cf947f508db0ab71a58cc7fe43f6e7592 Mon Sep 17 00:00:00 2001 From: Lucas Machado Date: Fri, 1 Mar 2024 15:14:34 -0300 Subject: [PATCH] [release-v2.8] Removing PR checkout in regsync.yaml (#3436) --- .github/workflows/regsync-config.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/regsync-config.yaml b/.github/workflows/regsync-config.yaml index 47be90c6ce..d53a6de172 100644 --- a/.github/workflows/regsync-config.yaml +++ b/.github/workflows/regsync-config.yaml @@ -41,14 +41,15 @@ jobs: - name: Set-up Ruby 3.2 uses: ruby/setup-ruby@v1 with: - ruby-version: '3.2' # Not needed with a .ruby-version file + ruby-version: '3.2' - - name: Generate RegSync + - name: Configure git run: | - echo ${{ secrets.PUSH_TOKEN }} | gh auth login --with-token - gh pr checkout ${{ github.event.pull_request.number }} git config --global user.email "${{ secrets.USER_GITHUB }}" git config --global user.name "rancherbot" + + - name: Generate RegSync + run: | make pull-scripts make regsync