Skip to content

Commit ebb3e74

Browse files
committed
Fix LFS auth by setting global lfs.url and allow draft PRs
1 parent aa3d690 commit ebb3e74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/docs-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ env:
5252

5353
jobs:
5454
docs-make:
55-
if: github.event.pull_request.draft == false
55+
if: github.event_name != 'pull_request' || github.event.pull_request.draft == true
5656
runs-on: ubuntu-22.04
5757
strategy:
5858
fail-fast: false
@@ -69,6 +69,7 @@ jobs:
6969
run: |
7070
git config --global credential.helper store
7171
echo "https://$GITHUB_ACTOR:[email protected]" > ~/.git-credentials
72+
git config --global lfs.url "https://$GITHUB_ACTOR:[email protected]"
7273
- uses: actions/checkout@v5
7374
with:
7475
ref: ${{ inputs.checkout }}

0 commit comments

Comments
 (0)