Skip to content

Commit 61cdf7c

Browse files
committed
Document dilemma.
1 parent 38280f2 commit 61cdf7c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/_shared-docs-build-pr.yml

+6
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,12 @@ jobs:
193193
- name: Checkout HEAD
194194
uses: actions/checkout@v2
195195
with:
196+
# It would be better to use
197+
#
198+
# ref: ${{ github.event.pull_request.head.sha }}
199+
#
200+
# since that also works when re-running this action for older commits of
201+
# a PR, **but** then we get https://github.com/ansible-community/github-docs-build/issues/3 back...
196202
ref: refs/pull/${{ github.event.number }}/merge
197203
path: ${{ steps.vars.outputs.checkout-path }}
198204

0 commit comments

Comments
 (0)