Skip to content

Commit

Permalink
fix: use head ref for checkout, allowing docs to work on pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
umglurf committed Sep 23, 2022
1 parent bc419cf commit f5c6c60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: "${{ github.head_ref }}"
- name: Checkout workflow
id: checkout_workflow
uses: actions/checkout@v3
Expand Down

0 comments on commit f5c6c60

Please sign in to comment.