Skip to content

Commit eaafff1

Browse files
committed
fix: checkout branch ref to allow push back on pull_request events
1 parent 3484536 commit eaafff1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/generate-readme.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
uses: actions/checkout@v4
1818
with:
1919
token: ${{ secrets.token }}
20+
ref: ${{ github.head_ref || github.ref_name }}
2021

2122
- name: Checkout doctool action
2223
uses: actions/checkout@v4

0 commit comments

Comments
 (0)