Skip to content

Commit 5c751f5

Browse files
authored
Correct handling of previews. (#580)
* Reference the SHA of the pull request HEAD in the checkout. * Minor content change to validate previews.
1 parent 226f26b commit 5c751f5

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/ci.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ jobs:
99
runs-on: ubuntu-latest
1010
if: contains(github.event.pull_request.labels.*.name, 'preview')
1111
steps:
12-
- uses: actions/checkout@v4
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
with:
15+
ref: ${{ github.event.pull_request.head.sha }}
16+
fetch-depth: 0
17+
1318
- name: Set up Python
1419
uses: actions/setup-python@v5
1520
with:

content/news/events/djangocon-us-2017-sprints/contents.lr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
title: DjangoCon US 2017 Sprints
1+
title: DjangoCon US 2017
22
---
33
date: 2017-08-17
44
---

0 commit comments

Comments
 (0)