We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4978c23 commit e1c3f4eCopy full SHA for e1c3f4e
1 file changed
.github/workflows/build-fern-docs.yml
@@ -85,7 +85,7 @@ jobs:
85
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
86
with:
87
path: workflow
88
- ref: ${{ github.event.repository.default_branch }}
+ ref: ${{ github.event_name == 'workflow_dispatch' && github.ref || github.event.repository.default_branch }}
89
90
- name: Checkout source
91
0 commit comments