Skip to content

Commit f419bd8

Browse files
authored
Try to ensure we checkout origin/stable-docs refs #1
1 parent afd9d68 commit f419bd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/stable-docs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
- name: Handle Commit to Main
4242
if: contains(github.event.head_commit.message, '!stable-docs')
4343
run: |
44-
git fetch origin stable-docs:stable-docs
45-
git checkout stable-docs
44+
git fetch origin
45+
git checkout -b stable-docs origin/stable-docs
4646
# !stable-docs should only be in the one commit, so apply changes from that commit
4747
PATCH=$(git show ${{ github.sha }} -- docs/)
4848
# Check if patch is non-empty

0 commit comments

Comments
 (0)