File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
src/Elastic.Markdown/Slices Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 5353 if : github.event_name == 'push' || steps.check-files.outputs.any_changed == 'true'
5454 uses : actions/checkout@v4
5555 with :
56- repository : ' ${{ github.event.pull_request.head.repo.full_name || github.repository }}'
5756 ref : ${{ github.event.pull_request.head.sha || github.ref }}
5857 persist-credentials : false
5958
@@ -148,7 +147,7 @@ jobs:
148147 --paths "${PATH_PREFIX}" "${PATH_PREFIX}/*"
149148
150149 - name : Update Link Index
151- if : steps.s3-upload.outcome == 'success'
150+ if : github.event_name == 'push' && github.ref == 'refs/heads/main' && steps.s3-upload.outcome == 'success'
152151 uses : elastic/docs-builder/actions/update-link-index@main
153152
154153 - name : Update deployment status
Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ public class PageTocItem
7373{
7474 public required string Heading { get ; init ; }
7575 public required string Slug { get ; init ; }
76-
7776 public required int Level { get ; init ; }
7877}
7978
You can’t perform that action at this time.
0 commit comments