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