Skip to content

Commit 4eedbb6

Browse files
authored
Update rebase_workflow.yml
1 parent 26837c2 commit 4eedbb6

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/rebase_workflow.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,15 @@ jobs:
3131
git config --global user.name "GmodNET GitHub Bot"
3232
git config --global user.email support@gmodnet.xyz
3333
34-
- name: Checkout
34+
- name: Checkout repo
35+
uses: actions/checkout@v2.3.4
36+
with:
37+
token: ${{ steps.generate_token.outputs.token }}
38+
39+
- name: Checkout PR
3540
env:
3641
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
37-
run: |
38-
gh repo clone ${{ github.repository }} ./
39-
gh pr checkout ${{ github.event.inputs.prNumber }}
42+
run: gh pr checkout ${{ github.event.inputs.prNumber }}
4043

4144
- name: Extract branch name
4245
uses: nelonoel/branch-name@v1.0.1

0 commit comments

Comments
 (0)