Skip to content

Commit

Permalink
Revert "[release-v2.8] Removing PR checkout in regsync.yaml (#3436)"
Browse files Browse the repository at this point in the history
This reverts commit deb8604.
  • Loading branch information
lucasmlp committed Mar 13, 2024
1 parent 55a78da commit f392ba3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/regsync-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,14 @@ jobs:
- name: Set-up Ruby 3.2
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
ruby-version: '3.2' # Not needed with a .ruby-version file

- name: Configure git
- 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"
- name: Generate RegSync
run: |
make pull-scripts
make regsync
Expand Down

0 comments on commit f392ba3

Please sign in to comment.