Skip to content

Commit

Permalink
Try to ensure we checkout origin/stable-docs refs #1
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw authored Aug 20, 2023
1 parent afd9d68 commit f419bd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/stable-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
- name: Handle Commit to Main
if: contains(github.event.head_commit.message, '!stable-docs')
run: |
git fetch origin stable-docs:stable-docs
git checkout stable-docs
git fetch origin
git checkout -b stable-docs origin/stable-docs
# !stable-docs should only be in the one commit, so apply changes from that commit
PATCH=$(git show ${{ github.sha }} -- docs/)
# Check if patch is non-empty
Expand Down

0 comments on commit f419bd8

Please sign in to comment.