Skip to content

Commit e9a6969

Browse files
committed
Try to fix generate_bindings again
1 parent 820ed4e commit e9a6969

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/generate_bindings.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ jobs:
2323
- name: Checkout PR branch
2424
uses: actions/checkout@v4
2525
with:
26-
ref: ${{ github.head_ref }}
27-
token: ${{ secrets.GITHUB_TOKEN }}
26+
ref: ${{ github.event.pull_request.head.ref }}
27+
repository: ${{ github.event.pull_request.head.repo.full_name }}
28+
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
2829

2930
- uses: julia-actions/setup-julia@v1
3031
with:
@@ -53,4 +54,4 @@ jobs:
5354
git config --global user.email "github-actions[bot]@users.noreply.github.com"
5455
git add .
5556
git commit -m "Regenerate bindings"
56-
git push origin ${{ github.head_ref }}
57+
git push origin ${{ github.event.pull_request.head.ref }}

0 commit comments

Comments
 (0)