Skip to content

Commit

Permalink
[release-v2.8] Removing PR checkout in regsync.yaml (#3436)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmlp committed Mar 1, 2024
1 parent 80f2dca commit deb8604
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/regsync-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit deb8604

Please sign in to comment.