Skip to content

Commit

Permalink
Fall back to default ref if not pull
Browse files Browse the repository at this point in the history
  • Loading branch information
mmore500 committed Dec 11, 2023
1 parent 0c48a51 commit fcf613a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v4
with:
# sometimes checkout action doesn't result in clean directory?
ref: ${{ github.event.pull_request.head.sha }}
ref: ${{ github.event.pull_request.head.sha || github.ref }}
submodules: 'recursive'
- run: git status --ignored
- run: brew install coreutils findutils gnu-sed gawk grep rename sphinx-doc
Expand Down

0 comments on commit fcf613a

Please sign in to comment.