[dev-v2.9] Removing PR checkout in regsync.yaml (#3375)

pull/3557/head
Lucas Machado 2024-03-01 15:14:41 -03:00 committed by GitHub
parent 310dc09c7f
commit 3dc6372d46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 5 deletions

View File

@ -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: Configure git
run: |
git config --global user.email "${{ secrets.USER_GITHUB }}"
git config --global user.name "rancherbot"
- name: Generate RegSync
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"
make pull-scripts
make regsync