Skip to content

Commit 3dc3818

Browse files
ci: fix pull request workflow
1 parent 2d342b5 commit 3dc3818

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/pr.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
pull-request:
1515
runs-on: ubuntu-latest
1616
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
1721
- name: Create app token
1822
uses: actions/create-github-app-token@v2
1923
id: app-token
@@ -25,6 +29,5 @@ jobs:
2529
gh pr create -d -B master -H "$GITHUB_REF_NAME"
2630
"${PR_TITLE:+--title=}${PR_TITLE:---fill-first}"
2731
env:
28-
GH_REPO: ${{github.repository}}
2932
GH_TOKEN: ${{steps.app-token.outputs.token}}
3033
PR_TITLE: ${{github.event.inputs.title}}

0 commit comments

Comments
 (0)